Subject: Init_xxx(with arg ??) in C for ruby ext ???
From: pere.noel laponie.com.invalid (Une bñ×ue)
Date: Wed, 9 Aug 2006 01:45:13 +0900
hey all,
new to C, i'm writing a ruby ext, i wonder if we could pass an arg to
Init_xxx(type * arg) ???
this is to have a constructor in ruby like that :
trick=MyClass.new("my arg")
and if not does exists a workaround ???
--
une bñ×ue