pike.git / src / modules / Java / jvm.c

version» Context lines:

pike.git/src/modules/Java/jvm.c:2736:    } else {    pop_n_elems(args);    push_int(0);    }   }      static void f_get_method(INT32 args)   {    struct object *oo;    -  check_all_args("get_method", args, BIT_STRING, BIT_STRING, 0); +  check_all_args(NULL, args, BIT_STRING, BIT_STRING, 0);       push_object(this_object());    oo=clone_object(method_program, args+1);    if(oo->prog!=NULL)    push_object(oo);    else {    free_object(oo);    push_int(0);    }   }      static void f_get_static_method(INT32 args)   {    struct object *oo;    -  check_all_args("get_static_method", args, BIT_STRING, BIT_STRING, 0); +  check_all_args(NULL, args, BIT_STRING, BIT_STRING, 0);       push_object(this_object());    oo=clone_object(static_method_program, args+1);    if(oo->prog!=NULL)    push_object(oo);    else {    free_object(oo);    push_int(0);    }   }      static void f_get_field(INT32 args)   {    struct object *oo;    -  check_all_args("get_field", args, BIT_STRING, BIT_STRING, 0); +  check_all_args(NULL, args, BIT_STRING, BIT_STRING, 0);       push_object(this_object());    oo=clone_object(field_program, args+1);    if(oo->prog!=NULL)    push_object(oo);    else {    free_object(oo);    push_int(0);    }   }      static void f_get_static_field(INT32 args)   {    struct object *oo;    -  check_all_args("get_static_field", args, BIT_STRING, BIT_STRING, 0); +  check_all_args(NULL, args, BIT_STRING, BIT_STRING, 0);       push_object(this_object());    oo=clone_object(static_field_program, args+1);    if(oo->prog!=NULL)    push_object(oo);    else {    free_object(oo);    push_int(0);    }   }      #ifdef SUPPORT_NATIVE_METHODS   static void f_register_natives(INT32 args)   {    struct object *oo; -  check_all_args("register_natives", args, BIT_ARRAY, 0); +  check_all_args(NULL, args, BIT_ARRAY, 0);    push_object(this_object());    oo=clone_object(natives_program, args+1);    if(oo->prog!=NULL)    push_object(oo);    else {    free_object(oo);    push_int(0);    }   }   #endif /* SUPPORT_NATIVE_METHODS */