MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / findStaticFunction

Method findStaticFunction

src/hx/cppia/HaxeNative.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91ScriptNamedFunction HaxeNativeClass::findStaticFunction(String inName)
92{
93 if (functions)
94 for(ScriptNamedFunction *f=functions;f->name;f++)
95 if ( !strcmp(inName.utf8_str(),f->name) && f->isStatic)
96 return *f;
97
98 return ScriptNamedFunction(0,0,0,0,0);
99}
100
101
102

Callers 1

linkMethod · 0.80

Calls 2

ScriptNamedFunctionClass · 0.85
utf8_strMethod · 0.80

Tested by

no test coverage detected