lot.
> For the sake of it, I opened a Trac ticket with the reduced
> code: https://www.macruby.org/trac/ticket/1188
> Cheers,
> --
> Thibault Martin-Lagardette
>
> On Thursday, March 10, 2011 at 13:59, kyossi wrote:
>
> Hi,
>
> I'm plan to add some functionali
Hi,
I'm plan to add some functionality to existing attr_accessor.
I've started with re-implement attr_accessor with same functionality,
but when I implement it by define_method, it failed with Segmentation
fault when I call valueForKey(:key).
Am i doing wrong with class Base2??,
The Code is
#u
;-I.' runtime.h > ~/Desktop/runtime.bridgesupport
$ macirb
irb > load_bridge_support_file "/Users/kyossi/Desktop/runtime.bridgesupport"
NameError: Method is already defined
It seems like one line in runtime.bridgesupport conflict with Method
class in ruby.
When
Hi,
> However, I do not see any struct definitions in the generated bridgesupport
> file.
I found past discussions about C-struct and .bridgesupport. hope this help.
[MacRuby-devel] How to use custom C struct's?
http://www.mail-archive.com/macruby-devel@lists.macosforge.org/msg01492.html
2011
Hi,
Thanks for help.
OK, I've created a new ticket as below.
https://www.macruby.org/trac/ticket/1080
Thanks&Regards.
kyossi
>Hi,
>There is no way to do that for now. Could you file a ticket? I will introduce
>#size on C structs classes.
>NSRect.size in MacRuby would
Hi,
I'm trying to write some app in MacRuby with CoreAudio framework.
I've notices some framework's C-function require pointer manipulation,
and for some cases, I need calculate size of C-struct, but don't know
how to get sizeof(struct Foo).
Is there any way to calculate size of C-struct in MacR