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

Function __hxcpp_memory_get_f32

include/hx/StdLibs.h:693–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691inline int __hxcpp_memory_get_ui16(Array<unsigned char> inBuffer ,int addr) { return *(unsigned short *)(inBuffer->GetBase()+addr); }
692inline int __hxcpp_memory_get_ui32(Array<unsigned char> inBuffer ,int addr) { return *(unsigned int *)(inBuffer->GetBase()+addr); }
693inline float __hxcpp_memory_get_f32(Array<unsigned char> inBuffer ,int addr) {
694 return __hxcpp_align_get_float32((unsigned char *)inBuffer->GetBase(), addr);
695}
696
697inline void __hxcpp_memory_set_byte(Array<unsigned char> inBuffer ,int addr,int v) { inBuffer->GetBase()[addr] = v; }
698inline void __hxcpp_memory_set_double(Array<unsigned char> inBuffer ,int addr,double v) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected