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

Method setDebug

src/hx/cppia/CppiaModule.cpp:39–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void CppiaModule::setDebug(CppiaExpr *outExpr, int inFileId, int inLine)
40{
41 #ifdef HXCPP_DEBUGGER
42 if (inFileId)
43 allFileIds.insert(inFileId);
44 #endif
45 outExpr->className = creatingClass;
46 outExpr->functionName = creatingFunction;
47 //outExpr->filename = cStrings[inFileId].c_str();
48 outExpr->filename = strings[inFileId].utf8_str();
49 outExpr->line = inLine;
50}
51
52
53// --- CppiaModule -------------------------

Callers 1

createCppiaExprFunction · 0.80

Calls 1

utf8_strMethod · 0.80

Tested by

no test coverage detected