In C - you can pass or return a defined struct by value from a function. For example - see the GSL complex math library.
I can't seem to work out how to do this in lostanza. It seems like lostanza is focused only on pointers. Do you have an example of using structures as values?
In C - you can pass or return a defined struct by value from a function. For example - see the GSL complex math library.
I can't seem to work out how to do this in lostanza. It seems like lostanza is focused only on pointers. Do you have an example of using structures as values?