Persistent objects
#5
I suspect that tolua can be patched to generate the bindings automatically, if we wrote the appropriate support code. What the code you've written does in each case is hide the pointer to pointer. With a template we can generate the wrapper classes automatically.

However we need to be careful with the DoWithXYZ objects as a lot of them are about locks, a concept which lua does not express well.
Reply
Thanks given by:


Messages In This Thread
Persistent objects - by xoft - 04-13-2015, 01:12 AM
RE: Persistent objects - by NiLSPACE - 04-13-2015, 02:10 AM
RE: Persistent objects - by FakeTruth - 04-13-2015, 06:10 AM
RE: Persistent objects - by xoft - 04-13-2015, 07:46 AM
RE: Persistent objects - by worktycho - 04-15-2015, 09:40 AM
RE: Persistent objects - by worktycho - 04-15-2015, 10:11 PM
RE: Persistent objects - by worktycho - 05-01-2015, 12:00 AM



Users browsing this thread: 1 Guest(s)