project_files/hwc/rtl/misc.h
changeset 10124 aabd1b75d5a3
parent 10121 8b65699beb56
child 10127 7f29a65aa1e4
equal deleted inserted replaced
10123:64e72781d344 10124:aabd1b75d5a3
    38 string255   fpcrtl_strconcat(string255 str1, string255 str2);
    38 string255   fpcrtl_strconcat(string255 str1, string255 str2);
    39 string255   fpcrtl_strappend(string255 s, char c);
    39 string255   fpcrtl_strappend(string255 s, char c);
    40 string255   fpcrtl_strprepend(char c, string255 s);
    40 string255   fpcrtl_strprepend(char c, string255 s);
    41 string255   fpcrtl_chrconcat(char a, char b);
    41 string255   fpcrtl_chrconcat(char a, char b);
    42 
    42 
       
    43 astring     fpcrtl_strconcatA(astring str1, astring str2);
       
    44 
    43 // return true if str1 == str2
    45 // return true if str1 == str2
    44 bool        fpcrtl_strcompare(string255 str1, string255 str2);
    46 bool        fpcrtl_strcompare(string255 str1, string255 str2);
    45 bool        fpcrtl_strcomparec(string255 a, char b);
    47 bool        fpcrtl_strcomparec(string255 a, char b);
    46 bool        fpcrtl_strncompare(string255 a, string255 b);
    48 bool        fpcrtl_strncompare(string255 a, string255 b);
    47 
    49 
    48 char*       fpcrtl__pchar(string255 s);
    50 char*       fpcrtl__pchar(string255 s);
    49 string255   fpcrtl_pchar2str(char *s);
    51 string255   fpcrtl_pchar2str(char *s);
    50 astring     fpcrtl_str2astr(string255 s);
    52 astring     fpcrtl_str2astr(string255 s);
       
    53 string255   fpcrtl_astr2str(astring s);
       
    54 string255   fpcrtl_astr2str(astring a);
    51 #define     fpcrtl_TypeInfo                         sizeof // dummy
    55 #define     fpcrtl_TypeInfo                         sizeof // dummy
    52 
    56 
    53 #ifdef EMSCRIPTEN
    57 #ifdef EMSCRIPTEN
    54 #define     GLEW_OK                                 1
    58 #define     GLEW_OK                                 1
    55 GLenum      glewInit();
    59 GLenum      glewInit();