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

Function alloc_field

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

Source from the content-addressed store, hash-verified

806
807
808void alloc_field(hx::Object * arg1,int arg2,hx::Object * arg3) THROWS
809{
810 //hx::InternalCollect();
811 if (!arg1) hx::Throw(HX_INVALID_OBJECT);
812 arg1->__SetField(__hxcpp_field_from_id(arg2),arg3, HX_PROP_DYNAMIC );
813}
814void hxcpp_alloc_field(hx::Object * arg1,int arg2,hx::Object * arg3)
815{
816 return alloc_field(arg1,arg2,arg3);

Callers 2

hxcpp_alloc_fieldFunction · 0.70
createAnonFunction · 0.50

Calls 2

ThrowFunction · 0.85
__SetFieldMethod · 0.45

Tested by

no test coverage detected