From: Mido Peace Date: 2010-01-20T06:09:56+09:00 Subject: Passing C Struct to Ruby hey !! I'm newbie in Ruby , Actually , I wanna call some C methods and Structure from Ruby , But Still dont knw how to do in C ... int VALUE my_str_new(VALUE arg) { my_struct *str =init_Struct(arg) ; return *str ; } ...?! I dont know how to tell Ruby about my C struct and its methods( or create equivalent struct (keeping the C methods ) in Ruby) Thx -- Posted via http://www.ruby-forum.com/.