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

Method setFloat

src/hx/cppia/GlobalBuiltin.cpp:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157 #ifdef CPPIA_JIT
158 static void SLJIT_CALL setFloat(Array_obj<unsigned char> *inBuffer, int inAddr, double *inValue)
159 {
160 if (sizeof(ARG2)==sizeof(float))
161 __hxcpp_memory_set_float(inBuffer,inAddr,*inValue);
162 else
163 __hxcpp_memory_set_double(inBuffer,inAddr,*inValue);
164 }
165
166 void genCode(CppiaCompiler *compiler, const JitVal &inDest,ExprType destType) HXCPP_OVERRIDE
167 {

Callers

nothing calls this directly

Calls 2

__hxcpp_memory_set_floatFunction · 0.85

Tested by

no test coverage detected