lua-users home
lua-l archive

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


Yes. Its being defined there.

const char CLObject::className[] = "CLObject";
Luna< CLObject >::RegType CLObject::methods[] = {
method(CLObject,  GetType),
method(CLObject,  GetListofNumbers),
method(CLObject,  Instance),
{0,0}
};


2009/10/30 Ignacio Burgueño <ignaciob@inconcertcc.com>
Sivan Thiruvengadam wrote:
Hi,

class CLObject {
public:

// Constants
static const char className[];
static Luna< CLObject >::RegType methods[];
..
*int GetType(lua_State *L);//(unsigned char&cType);*
*int GetListofNumbers(lua_State *L);*


Please show your CLObject::methods[] array. Is GetType defined there?