pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:8237: Inside #if defined(DEBUG_MALLOC)
  /*! @decl void dmalloc_set_name(string filename, int linenumber)    *! @belongs Debug    *!    *! @note    *! Only available when compiled with dmalloc.    */   PMOD_EXPORT void f__dmalloc_set_name(INT32 args)   {    char *s;    INT_TYPE i; -  extern char * dynamic_location(const char *file, int line); +  extern char * dynamic_location(const char *file, INT_TYPE line);    extern char * dmalloc_default_location;       if(args)    {    get_all_args("_dmalloc_set_name", args, "%s%i", &s, &i);    dmalloc_default_location = dynamic_location(s, i);    }else{    dmalloc_default_location=0;    }    pop_n_elems(args);
pike.git/src/builtin_functions.c:9298:   {    check_all_args("Function.defined",args,BIT_FUNCTION, 0);       if(SUBTYPEOF(Pike_sp[-args]) != FUNCTION_BUILTIN &&    Pike_sp[-args].u.object->prog)    {    struct program *p = Pike_sp[-args].u.object->prog;    struct program *id_prog, *p2;    int func = SUBTYPEOF(Pike_sp[-args]);    struct identifier *id; -  INT32 line; +  INT_TYPE line;    struct pike_string *file = NULL;       if (p == pike_trampoline_program) {    struct pike_trampoline *t =    (struct pike_trampoline *) Pike_sp[-args].u.object->storage;    if (t->frame->current_object->prog) {    p = t->frame->current_object->prog;    func = t->func;    }    }