Refactor the internal symbols
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
#ifndef LIBCDSB_SRC_STRING_INCLUDE_H
|
||||
#define LIBCDSB_SRC_STRING_INCLUDE_H
|
||||
|
||||
ainline(char* next_char(char* s)) {
|
||||
ainline(char* libcdsb_builtin_next_char(char* s)) {
|
||||
int cs = charsize(s);
|
||||
|
||||
if (cs) return s + cs;
|
||||
return ++s;
|
||||
}
|
||||
|
||||
ainline(char* prev_char(char* s)) {
|
||||
ainline(char* libcdsb_builtin_prev_char(char* s)) {
|
||||
|
||||
if (*(--s)&0x80) {
|
||||
char* p = s;
|
||||
@@ -29,4 +29,7 @@ ainline(char* prev_char(char* s)) {
|
||||
return s;
|
||||
}
|
||||
|
||||
#define next_char libcdsb_builtin_next_char
|
||||
#define prev_char libcdsb_builtin_prev_char
|
||||
|
||||
#endif /* LIBCDSB_SRC_STRING_INCLUDE_H */
|
||||
|
||||
Reference in New Issue
Block a user