Original Post
Ive spent... countless.. COUNTLESS, hours attempting to learn luabind.. but there is Nothing out there... and if there is it is a minute amount of information...
What I would really kill for is a working example I could pick apart and make work for my needs.
What I am trying to do is expose a class so that I can call a function inside of it, passing an int and a string... My issue is that I have to pass in two maps to the creation of the class.. So I pretty much need to be able to pass in objects... but when ever I use luabind::gobals() I get exception problems
So what I wanted to know.. Is there any resource out there which will help me learn how to expose a class and pass objects to it.
(hmm, I mean pass object references, as I need to be able to access the data in them after the exposed class has modified them)
What I would really kill for is a working example I could pick apart and make work for my needs.
What I am trying to do is expose a class so that I can call a function inside of it, passing an int and a string... My issue is that I have to pass in two maps to the creation of the class.. So I pretty much need to be able to pass in objects... but when ever I use luabind::gobals() I get exception problems
So what I wanted to know.. Is there any resource out there which will help me learn how to expose a class and pass objects to it.
(hmm, I mean pass object references, as I need to be able to access the data in them after the exposed class has modified them)