[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Problem with Lua in c++ and stl
- From: Waldemar Celes <celes@...>
- Date: Wed, 01 Sep 1999 11:02:14 -0400
> I am using LUA in my game...One of my classes registers one of its
> methods, Add(), with LUA, so that it can be called by LUA. I have
> reduced my Add() method to simply doing a myvector.push_back(5),
> myvector is a private variable in my class, vector<int> myvector. Am I
> supposed to be using LUA differently with c++?
you can try using "tolua" for binding your classes and methods to Lua.