From: ts Date: 2001-09-27T00:57:50+09:00 Subject: [ruby-talk:21736] Re: manipulating "immutable" objects such as Fixnum from within callbacks & al... >>>>> "B" == Brian F Feldman writes: B> Fair enough, for some reason it didn't work for me. The first thing I B> tried, btw, was just at the beginning adding What is the error ? B> if ($3 == 0) B> $3 = NEW_ZARRAY(); $3 = list_append($3, NEW_NIL()); return NEW_LIST(NEW_NIL()) if $3 == 0 #define NEW_LIST(a) NEW_ARRAY(a) #define NEW_ARRAY(a) rb_node_newnode(NODE_ARRAY,a,1,0) this is why argc > 0 Guy Decoux