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

Method TypeData

src/hx/cppia/Cppia.cpp:8077–8092  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8075// --- TypeData -------------------------
8076
8077TypeData::TypeData(String inModule)
8078{
8079 Array<String> parts = inModule.split(HX_CSTRING("::"));
8080 if (parts[0].length==0)
8081 parts->shift();
8082 name = parts->join(HX_CSTRING("."));
8083 cppiaClass = 0;
8084 haxeClass = null();
8085 haxeBase = 0;
8086 linked = false;
8087 arrayType = arrNotArray;
8088 interfaceBase = 0;
8089 isInterface = false;
8090 isDynamic = name == HX_CSTRING("Dynamic");
8091 isFloat = name == HX_CSTRING("Float");
8092}
8093void TypeData::mark(hx::MarkContext *__inCtx)
8094{
8095 HX_MARK_MEMBER(name);

Callers

nothing calls this directly

Calls 2

splitMethod · 0.80
nullClass · 0.50

Tested by

no test coverage detected