[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua-C++ Question
- From: Peter Kümmel <syntheticpp@...>
- Date: Tue, 26 Feb 2013 08:42:05 +0100
On 24.02.2013 14:20, TheGreat Guru wrote:
Hello all :) Just wondering if the is a way to bind c++ classes to lua
BUT with c++ inheritance support !
I mean if the is a way to write lua scripts and create objects of a
c++ subClass that can access the methods of baseClass.
What i am looking for is some link for a good tutorial OR some custom
code sample/s !
*IMPORTANT : I dont want to use a library like luaBind , toLua ,
LuaCpp or even SWIG . Just simple lua C API .
Thanks all !
Once I wrote a lightweight C++ binding from scratch without using boost:
Have a look into the test/ directory, it transforms the examples from
the PIL book step by step into C++ code.