lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

--Jens

> 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.
> 
> Jason
>