project_files/hwc/rtl/misc.h
changeset 10127 7f29a65aa1e4
parent 10124 aabd1b75d5a3
child 10128 0f6878b5395a
equal deleted inserted replaced
10126:2fa3bb7785ee 10127:7f29a65aa1e4
    44 
    44 
    45 // return true if str1 == str2
    45 // return true if str1 == str2
    46 bool        fpcrtl_strcompare(string255 str1, string255 str2);
    46 bool        fpcrtl_strcompare(string255 str1, string255 str2);
    47 bool        fpcrtl_strcomparec(string255 a, char b);
    47 bool        fpcrtl_strcomparec(string255 a, char b);
    48 bool        fpcrtl_strncompare(string255 a, string255 b);
    48 bool        fpcrtl_strncompare(string255 a, string255 b);
       
    49 bool        fpcrtl_strncompareA(astring a, astring b);
    49 
    50 
    50 char*       fpcrtl__pchar(string255 s);
    51 char*       fpcrtl__pchar(string255 s);
    51 string255   fpcrtl_pchar2str(char *s);
    52 string255   fpcrtl_pchar2str(char *s);
       
    53 astring     fpcrtl_pchar2astr(char *s);
    52 astring     fpcrtl_str2astr(string255 s);
    54 astring     fpcrtl_str2astr(string255 s);
    53 string255   fpcrtl_astr2str(astring s);
    55 string255   fpcrtl_astr2str(astring s);
    54 string255   fpcrtl_astr2str(astring a);
       
    55 #define     fpcrtl_TypeInfo                         sizeof // dummy
    56 #define     fpcrtl_TypeInfo                         sizeof // dummy
    56 
    57 
    57 #ifdef EMSCRIPTEN
    58 #ifdef EMSCRIPTEN
    58 #define     GLEW_OK                                 1
    59 #define     GLEW_OK                                 1
    59 GLenum      glewInit();
    60 GLenum      glewInit();