ext/rubypython_bridge/rubypython_bridge.c in rubypython-0.2.5 vs ext/rubypython_bridge/rubypython_bridge.c in rubypython-0.2.6
- old
+ new
@@ -17,10 +17,10 @@
*/
static VALUE func_with_module(VALUE self, VALUE args)
{
int started_here=safe_start();
VALUE module,func,return_val;
- if(RARRAY(args)->len<2) return Qfalse;
+ if(RARRAY_LEN(args)<2) return Qfalse;
module=rb_ary_shift(args);
func=rb_ary_shift(args);
return_val=rp_call_func_with_module_name(module,func,args);
safe_stop(started_here);
return return_val;
\ No newline at end of file