project_files/hwc/rtl/misc.h
changeset 10121 8b65699beb56
parent 10015 4feced261c68
child 10124 aabd1b75d5a3
equal deleted inserted replaced
10120:b7f632c12784 10121:8b65699beb56
    43 // return true if str1 == str2
    43 // return true if str1 == str2
    44 bool        fpcrtl_strcompare(string255 str1, string255 str2);
    44 bool        fpcrtl_strcompare(string255 str1, string255 str2);
    45 bool        fpcrtl_strcomparec(string255 a, char b);
    45 bool        fpcrtl_strcomparec(string255 a, char b);
    46 bool        fpcrtl_strncompare(string255 a, string255 b);
    46 bool        fpcrtl_strncompare(string255 a, string255 b);
    47 
    47 
    48 #define     fpcrtl__pchar(s)                        ((s).str)
    48 char*       fpcrtl__pchar(string255 s);
    49 string255   fpcrtl_pchar2str(char *s);
    49 string255   fpcrtl_pchar2str(char *s);
    50 
    50 astring     fpcrtl_str2astr(string255 s);
    51 #define     fpcrtl_TypeInfo                         sizeof // dummy
    51 #define     fpcrtl_TypeInfo                         sizeof // dummy
    52 
    52 
    53 #ifdef EMSCRIPTEN
    53 #ifdef EMSCRIPTEN
    54 #define     GLEW_OK                                 1
    54 #define     GLEW_OK                                 1
    55 GLenum      glewInit();
    55 GLenum      glewInit();