ruby/trema/barrier-request.c in trema-0.2.2.1 vs ruby/trema/barrier-request.c in trema-0.2.3
- old
+ new
@@ -95,9 +95,10 @@
Init_barrier_request() {
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" ) );
}
/*
* Local variables: