version 1.2, 2015/04/20 18:10:09
|
version 1.3, 2015/04/20 18:19:50
|
|
|
static MI_Uint32 _Find( | static MI_Uint32 _Find( |
MI_FeatureDecl** data, | MI_FeatureDecl** data, |
MI_Uint32 size, | MI_Uint32 size, |
const MI_Char* name) |
const ZChar* name) |
{ | { |
MI_Uint32 code; | MI_Uint32 code; |
MI_Uint32 i; | MI_Uint32 i; |
|
|
for (i = 0; i < size; i++) | for (i = 0; i < size; i++) |
{ | { |
const MI_FeatureDecl* p = data[i]; | const MI_FeatureDecl* p = data[i]; |
if (p->code == code && Zcasecmp(p->name, name) == 0) |
if (p->code == code && Tcscasecmp(p->name, name) == 0) |
return i; | return i; |
} | } |
| |
|
|
| |
MI_ClassDecl* SchemaDecl_FindClassDecl( | MI_ClassDecl* SchemaDecl_FindClassDecl( |
const MI_SchemaDecl* self, | const MI_SchemaDecl* self, |
const MI_Char* name) |
const ZChar* name) |
{ | { |
MI_Uint32 i; | MI_Uint32 i; |
| |
|
|
| |
MI_MethodDecl* SchemaDecl_FindMethodDecl( | MI_MethodDecl* SchemaDecl_FindMethodDecl( |
const MI_ClassDecl* cd, | const MI_ClassDecl* cd, |
const MI_Char* name) |
const ZChar* name) |
{ | { |
MI_Uint32 i; | MI_Uint32 i; |
| |