I just put up the first release of a new project, Swig Starter Kit, on google code.
The Swig Starter Kit starts with the sample C++ class:
class Script_Interface { public: Script_Interface(); ~Script_Interface(); int get_a_value(); };
And shows how you can go about utilizing that C++ class from Lua:
require ('SwigStarterKit'); var = SwigStarterKit.Script_Interface(); print (var:get_a_value());
Recent comments
1 day 15 hours ago
5 days 11 hours ago
5 days 11 hours ago
6 days 7 hours ago
1 week 4 days ago
1 week 4 days ago
2 weeks 3 days ago
9 weeks 6 days ago
14 weeks 1 hour ago
16 weeks 5 days ago