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

Method findFunction

src/hx/cppia/HaxeNative.cpp:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78ScriptNamedFunction HaxeNativeClass::findFunction(const std::string &inName)
79{
80 if (functions)
81 for(ScriptNamedFunction *f=functions;f->name;f++)
82 if (inName == f->name && !f->isStatic)
83 return *f;
84 if (haxeSuper)
85 return haxeSuper->findFunction(inName);
86
87 return ScriptNamedFunction(0,0,0,0,0);
88}
89
90
91ScriptNamedFunction HaxeNativeClass::findStaticFunction(String inName)

Callers 4

linkMethod · 0.45
linkMethod · 0.45
linkMethod · 0.45
linkMethod · 0.45

Calls 2

ScriptNamedFunctionClass · 0.85
ScriptFunctionClass · 0.85

Tested by

no test coverage detected