|
From: John L. <jla...@gm...> - 2007-01-31 23:04:13
|
On 1/31/07, Ryan Pusztai <rpu...@gm...> wrote:
>
> I am going to attempt to create a binding for wxCTB's wxSerialPort and
> I have a question about the .i file.
>
> If the header file has items in it, but the only thing I care about is
> an enumeration do I delete everything other than the items I care
> about?
You need only put the things you want accessible to lua in the .i
file. In fact, if a class has a base class you need only wrap the
topmost class and add the useful base class functions to it. It would
only make sense to wrap the base class if two or more classes use it.
Hope this helps,
John Labenski
|