Closed jgabaut closed 5 months ago
Describe the bug Calls to KLS_PUSH() macro are passing the Example type itself.
KLS_PUSH()
Example
This is not recommended to do, since the call won't be correctly updated if you change the types and the typedef ends up having an incorrect size.
typedef
Using an expression pointer size is preferreable (eg. *example instead).
*example
Additional context
See related koliseo issue: link
koliseo
After some more reflection on this in here, I don't think this can be solved by just changing the used expression since koliseo really needs a straight type there.
A future version of koliseo might address this.
Closing for now.
Describe the bug Calls to
KLS_PUSH()
macro are passing theExample
type itself.This is not recommended to do, since the call won't be correctly updated if you change the types and the
typedef
ends up having an incorrect size.Using an expression pointer size is preferreable (eg.
*example
instead).Additional context
See related
koliseo
issue: link