wxruby-dev
[Top][All Lists]
Advanced

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

Re: [Wxruby-dev] my wxruby starting version


From: Park Heesob
Subject: Re: [Wxruby-dev] my wxruby starting version
Date: Thu, 10 Apr 2003 10:03:24 +0900

----- Original Message -----
From: "repeater" <
address@hidden>
To: <
address@hidden>
Sent: Thursday, April 10, 2003 4:04 AM
Subject: RE: [Wxruby-dev] my wxruby starting version

>
> hello Park Heesob
>
Hi,
> great new version !
> i've played around with your previous version but got a bit stuck trying
to
> figure out that crash on the end, what was the cause of that btw ?
>
The crash was due to Data_Wrap_Struct(klass, mark, free, ptr) function.
The free argument try to free pointer first, and C++ try to free that
pointer later.
The free argument have to be NULL for every wxWindows classes.

> so you think that SWIG is not suitable for wxruby? well looking at how
> fxruby did it, i can see there are some complexities involved. currently
> your version will take a bit more effort than straight porting, though it
> will give a good path to a finished project. there may be hidden future
> costs, so can we perhaps discuss it a bit more ?
>
wxPython use SWIG, but wxPerl don't use SWIG.
If Ruby have it's own interface scheme like Perl's XS, it may be easy.

> first glance, the code seems to follow some pattern with regularity, and
it
> would be great if we could add some automation. (yet i don't mind that
much
> playing dumb and following your example patterns)
>
I need to rearrange my coding pattern.
I'm following wxWindows's Tutorial documentation.

> anyway my free time is sparse right now, but if you can keep the ball
> running, i'll see if i can join in as i get a breather.
>
I'll release wxRuby  version before May.
Thanks for your opinion.

> regards
> Peter
>

Regards,
Park Heesob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]