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

Function SourceInfo

src/hx/Anon.cpp:398–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396
397
398Anon SourceInfo(String inFile, int inLine, String inClass, String inMethod)
399{
400 Anon result = Anon_obj::Create();
401 result->Add(HX_CSTRING("fileName"),inFile);
402 result->Add(HX_CSTRING("lineNumber"),inLine);
403 result->Add(HX_CSTRING("className"),inClass);
404 result->Add(HX_CSTRING("methodName"),inMethod);
405 return result;
406}
407
408String StringFromAnonFields(hx::Object *inPtr)
409{

Callers 1

linkMethod · 0.85

Calls 2

CreateFunction · 0.85
AddMethod · 0.45

Tested by

no test coverage detected