From: nobu@... Date: 2006-08-09T16:45:35+09:00 Subject: Re: FOUND was (Re: Init_xxx(with arg ??) in C for ruby ext ???) Hi, At Wed, 9 Aug 2006 07:55:52 +0900, Yvon Thoraval wrote in [ruby-talk:207182]: > VALUE method_raliasfile_init(VALUE self, char * alias_path) > { > rb_iv_set(self, "@alias_path", *alias_path); > return self; > } All arguments are passed as VALUE, not C type. VALUE method_raliasfile_init(VALUE self, VALUE alias_path) { rb_iv_set(self, "@alias_path", alias_path); return self; } -- Nobu Nakada