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

Function alloc_bool

src/hx/CFFI.cpp:311–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310hx::Object * alloc_null() { return 0; }
311hx::Object * alloc_bool(bool arg1) { return Dynamic(arg1).GetPtr(); }
312hx::Object * alloc_int(int arg1) { return Dynamic(arg1).GetPtr(); }
313hx::Object * alloc_float(double arg1) { return Dynamic(arg1).GetPtr(); }
314hx::Object * alloc_empty_object() { return new hx::Anon_obj(); }

Callers 4

isBoolFunction · 0.50
isNullFunction · 0.50
valIsBufferFunction · 0.50
createAnonFunction · 0.50

Calls 2

GetPtrMethod · 0.80
DynamicClass · 0.50

Tested by

no test coverage detected