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

Method getValue

src/hx/cppia/CppiaClasses.cpp:234–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232 }
233
234 hx::Object *getValue()
235 {
236 if (value)
237 return value->value.mPtr;
238 if (!enumValue.mPtr)
239 {
240 enumValue = enumClass->ConstructEnum(enumName,null());
241 }
242 return enumValue.mPtr;
243 }
244
245 hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE
246 {

Callers 1

getFieldMethod · 0.45

Calls 2

nullClass · 0.50
ConstructEnumMethod · 0.45

Tested by

no test coverage detected