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

Function alloc_float

include/hx/CFFIJsPrime.h:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36value alloc_int32(int inValue) { return value(inValue); }
37value alloc_bool(bool inValue) { return value(inValue); }
38value alloc_float(double inValue) { return value(inValue); }
39
40value val_field(value inObject, int inIndex) { return inObject[sIdKeys[inIndex]]; }
41void alloc_field(value inObject, int inIndex, value inValue) { inObject.set(sIdKeys[inIndex],inValue); }

Callers 1

ToValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected