project_files/hwc/rtl/misc.h
changeset 10131 4b4a043111f4
parent 10129 cd2a64a1f4aa
child 14159 0aeea29ef890
equal deleted inserted replaced
10130:a9d509848390 10131:4b4a043111f4
    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 bool        fpcrtl_strncompareA(astring a, astring b);
    50 
    50 
    51 #define     fpcrtl__pchar(s)                    fpcrtl__pchar__vars(&(s))
    51 #define     fpcrtl__pchar(s)                    fpcrtl__pchar__vars(&(s))
    52 #define     fpcrtl__pcharA(s)                   fpcrtl__pcharA__vars(&(s))
    52 #define     fpcrtl__pcharA(s)                   fpcrtl__pcharA__vars(&(s))
    53 char*       fpcrtl__pchar__vars(string255 * s);
    53 char*       fpcrtl__pchar__vars(const string255 * s);
    54 char*       fpcrtl__pcharA__vars(astring * s);
    54 char*       fpcrtl__pcharA__vars(astring * s);
    55 string255   fpcrtl_pchar2str(const char *s);
    55 string255   fpcrtl_pchar2str(const char *s);
    56 astring     fpcrtl_pchar2astr(const char *s);
    56 astring     fpcrtl_pchar2astr(const char *s);
    57 astring     fpcrtl_str2astr(string255 s);
    57 astring     fpcrtl_str2astr(const string255 s);
    58 string255   fpcrtl_astr2str(astring s);
    58 string255   fpcrtl_astr2str(const astring s);
    59 #define     fpcrtl_TypeInfo                         sizeof // dummy
    59 #define     fpcrtl_TypeInfo                         sizeof // dummy
    60 
    60 
    61 #ifdef EMSCRIPTEN
    61 #ifdef EMSCRIPTEN
    62 #define     GLEW_OK                                 1
    62 #define     GLEW_OK                                 1
    63 GLenum      glewInit();
    63 GLenum      glewInit();