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

Method addVtableEntries

src/hx/cppia/HaxeNative.cpp:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33#ifdef NATIVE_CLASS_OVERRIDES_MARKED
34void HaxeNativeClass::addVtableEntries( std::vector<std::string> &outVtable)
35{
36 if (haxeSuper)
37 haxeSuper->addVtableEntries(outVtable);
38
39 if (functions)
40 for(ScriptNamedFunction *func = functions; func->name; func++)
41 if (!func->isStatic && !func->isOverride)
42 outVtable.push_back( func->name );
43}
44#else
45void HaxeNativeClass::addVtableEntries(std::vector<std::string>& outVtable) {
46 hx::UnorderedSet<std::string> methodsSet;

Callers 1

linkTypesMethod · 0.80

Calls 1

findMethod · 0.80

Tested by

no test coverage detected