Closed Gmann45 closed 3 months ago
Hm, I know its been some time and you have not received any reply, so I am taking a guess: have you tried treat_as: float: UINT32
?
You didn't provide the function prototype being mocked, but from the casting, I assume the pointer is a void? You're specifying the length, so it seems like it should have still copied the entire dereferenced float (byte by byte). I'll dig into `void` behavior a bit more and see if something seems amiss.
Cannot reproduce. :(
I am testing getter functions which return are supposed to return values from a database. When the datatype is anything other than a float, it returns the value as expected using the ReturnThruPtr functions. Below is the project file.
Source file:
Test file:
Below is the test output: