ruby/trema/barrier-request.c in trema-0.3.4 vs ruby/trema/barrier-request.c in trema-0.3.5

- old
+ new

@@ -116,9 +116,10 @@ } void Init_barrier_request() { + mTrema = rb_define_module( "Trema" ); cBarrierRequest = rb_define_class_under( mTrema, "BarrierRequest", rb_cObject ); rb_define_alloc_func( cBarrierRequest, barrier_request_alloc ); rb_define_method( cBarrierRequest, "initialize", barrier_request_init, -1 ); rb_define_method( cBarrierRequest, "transaction_id", barrier_request_transaction_id, 0 ); rb_alias( cBarrierRequest, rb_intern( "xid" ), rb_intern( "transaction_id" ) );