[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: The Lua C API
- From: "Jens Wessling" <wessling@...>
- Date: Wed, 29 Aug 2001 10:14:21 -0400
Sadly, I use the same platform dependent method for this. I keep
track of the item as a type-safe pointer, and I don't allow it to be
directly modified in Lua.
> Did you figure out a solution to passing parameters by reference?
> What would you do in the case of, say:
> void getWindowSize(int* width, int* height);
> I've worked around this case so far by either rewriting the
> function or adding special code to the wrapper, but a generic
> transparent solution would be nice.