>>>>> "E" == Emil Ong <onge / mcs.anl.gov> 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