| 37 | |
| 38 | |
| 39 | inline void SetFloatAligned(void *inPtr, const Float &inValue) |
| 40 | { |
| 41 | #ifdef HXCPP_ALIGN_FLOAT |
| 42 | int *dest = (int *)inPtr; |
| 43 | const int *src = (const int *)&inValue; |
| 44 | dest[1] = src[1]; |
| 45 | #else |
| 46 | *(Float *)inPtr = inValue; |
| 47 | #endif |
| 48 | } |
| 49 | |
| 50 | |
| 51 | inline Float GetFloatAligned(const void *inPtr) |
no outgoing calls
no test coverage detected