[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Lua-C++ Question
From:       Peter_Kümmel <syntheticpp () gmx ! net>
Date:       2013-02-26 7:42:05
Message-ID: 512C674D.1000804 () gmx ! net
[Download RAW message or body]

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:
https://github.com/syntheticpp/nlua

Have a look into the test/ directory, it transforms the examples from
the PIL book step by step into C++ code.

Peter


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic