On 2/15/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> On 2/14/07, John Labenski <[EMAIL PROTECTED]> wrote:
> > There's two problems, the first is that dcs is a "void*" data which
> > genwxbind.lua is treating as the userdata pointer which is not the
> > data itself. Is wxSerialPort_DCS a struct?
>
On 2/14/07, John Labenski <[EMAIL PROTECTED]> wrote:
> There's two problems, the first is that dcs is a "void*" data which
> genwxbind.lua is treating as the userdata pointer which is not the
> data itself. Is wxSerialPort_DCS a struct?
Yes it is a struct. Do you have syntax to handle struct's or
On 2/13/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> > Interface file:
> > %class %delete %noclassinfo %encapsulate wxSerialPort, wxSerialPort_x
> > wxSerialPort()
> >
> > // Serial port initilization
> > ...
> > int Open(const char* devname, void* dcs)
> >
On 2/7/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> On 2/7/07, John Labenski <[EMAIL PROTECTED]> wrote:
> > The easiest thing to do is to merely add the *.cpp files to your
> > project (or apps/wxlua) and then recompile. I suppose you could build
> > your own lib, like wxbindstc for example and th
On 2/7/07, John Labenski <[EMAIL PROTECTED]> wrote:
> The easiest thing to do is to merely add the *.cpp files to your
> project (or apps/wxlua) and then recompile. I suppose you could build
> your own lib, like wxbindstc for example and then link to that, but
> adding the cpp files is much easier.
On 2/7/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
>
> I now have the library building. I now need to add it to the wxLua
> solution and the I am now sure what I need to do to include this in a
> full compiled version of wxLua.
The easiest thing to do is to merely add the *.cpp files to your
proje
On 2/7/07, John Labenski <[EMAIL PROTECTED]> wrote:
> I think the above should work. The easiest way to get the code above
> is to change your timer function in the *.i file to
> "timer(unsigned int msec, int exitflag)"
> and then run the generator. You now have code that is close to what you want.
FORGET the last message, I sent it by accident when I pressed tab and
then enter.
On 2/7/07, John Labenski <[EMAIL PROTECTED]> wrote:
> On 2/6/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> > On 2/6/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> > > Well I am still a bit lost.
> > >
> > > First, her
On 2/6/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> On 2/6/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> > Well I am still a bit lost.
> >
> > First, here is the documentation for the function I want to wrap.
> > /*!
> > The constructor creates an timer object with the given
> > proper
On 2/6/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> Well I am still a bit lost.
>
> First, here is the documentation for the function I want to wrap.
> /*!
> The constructor creates an timer object with the given
> properties. The timer at this moment is not started. This
> will
On 2/5/07, John Labenski <[EMAIL PROTECTED]> wrote:
> On 2/5/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am making good progress towards adding wxSerialPort to wxLua. I
> > think I am down to the last problem. I have a function that takes a
> > callback function as a parameter and
On 2/5/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am making good progress towards adding wxSerialPort to wxLua. I
> think I am down to the last problem. I have a function that takes a
> callback function as a parameter and I don't know what I can use in
> the interface file (.i). I hav
Hi,
I am making good progress towards adding wxSerialPort to wxLua. I
think I am down to the last problem. I have a function that takes a
callback function as a parameter and I don't know what I can use in
the interface file (.i). I have tried to use wxEventHandler as the
parameter and it of coars
13 matches
Mail list logo