ruby/trema/echo-reply.c in trema-0.3.4 vs ruby/trema/echo-reply.c in trema-0.3.5
- old
+ new
@@ -102,9 +102,10 @@
#endif
void
Init_echo_reply() {
+ mTrema = rb_define_module( "Trema" );
cEchoReply = rb_define_class_under( mTrema, "EchoReply", rb_cObject );
rb_define_alloc_func( cEchoReply, echo_reply_alloc );
rb_define_method( cEchoReply, "initialize", echo_init, -1 );
rb_define_method( cEchoReply, "transaction_id", echo_transaction_id, 0 );
rb_alias( cEchoReply, rb_intern( "xid" ), rb_intern( "transaction_id" ) );