Currently, void only exists as a type when doing C interop, and cannot be represented inside of fluenc.
What void does it is basically does not push a value to the stack. This causes issue if you write something like...
Where foo is an imported C function with void return type.
We will try to pop a value from the stack which does not exist. This will either corrupt the stack, or throw an unhandled exception.
Currently,
voidonly exists as a type when doing C interop, and cannot be represented inside of fluenc.What
voiddoes it is basically does not push a value to the stack. This causes issue if you write something like...Where
foois an imported C function withvoidreturn type.We will try to pop a value from the stack which does not exist. This will either corrupt the stack, or throw an unhandled exception.