lua-users home
lua-l archive

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


"Roger D. Vargas" <luo_hei@yahoo.es> writes:
> Im testing swig for wrapper code generation and according to docs, it
> should be easy: swig -lua -c++ classA.i
> This generates the required code, and such code should have a function
> named ClassA_Init(). What I have found is that such function is not
> created. Can somebody tell me if Im missing some step?

Why do you think it should have a function (Lua function? C++ function?)
called "ClassA_Init"?

[I use C++/Lua heavily, and it works great BTW.]

-Miles

-- 
Infancy, n. The period of our lives when, according to Wordsworth, 'Heaven
lies about us.' The world begins lying about us pretty soon afterward.