From: ts Date: 2001-07-03T00:13:35+09:00 Subject: [ruby-talk:17152] Re: Calling Marshal.dump/load from C >>>>> "E" == Emil Ong writes: E> transmits the marshaled string. How do I call Marshal.dump or E> Marshal.load from C? I've gotten as far as getting IDs for the I suspect that someone in Japan don't want that you call it :-) Here what I do in bdb bdb_mMarshal = rb_const_get(rb_cObject, rb_intern("Marshal")); Then to call for example #dump id_dump = rb_intern("dump"); _bdb_tmp_ = rb_funcall(bdb_mMarshal, id_dump, 1, a); but please don't repeat it :-) Guy Decoux