pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:8033:    }       out->type_field=BIT_ARRAY;    push_array(out);    return;   }      /*! @endmodule    */    - #ifdef PIKE_DEBUG - /*! @decl void dump_backlog() -  *! @belongs Debug -  *! -  *! Dumps the 1024 latest executed opcodes, along with the source -  *! code lines, to standard error. The backlog is only collected on -  *! debug level 1 or higher, set with @[_debug] or with the @tt{-d@} -  *! argument on the command line. -  *! -  *! @note -  *! This function only exists if the Pike runtime has been compiled -  *! with RTL debug. -  */ - PMOD_EXPORT void f__dump_backlog(INT32 args) - { -  pop_n_elems(args); -  dump_backlog(); - } -  - #endif -  +    /*! @decl mixed map(mixed arr, void|mixed fun, mixed ... extra)    *!    *! Applies @[fun] to the elements in @[arr] and collects the results.    *!    *! @[arr] is treated as a set of elements, as follows:    *!    *! @dl    *! @item array    *! @item multiset    *! @item string
pike.git/src/builtin_functions.c:9629:    ADD_FUNCTION2("inherit_list", f_inherit_list,    tFunc(tOr(tObj,tPrg(tObj)),tArr(tPrg(tObj))), 0, OPT_TRY_OPTIMIZE);    ADD_FUNCTION2("program_identifier_defined", f_program_identifier_defined,    tFunc(tOr(tObj,tPrg(tObj)) tString,tString), 0, OPT_TRY_OPTIMIZE);    ADD_FUNCTION2("function_defined", f_function_defined,    tFunc(tFunction,tString), 0, OPT_TRY_OPTIMIZE);      #ifdef PIKE_DEBUG      /* function(1=mixed:1) */ -  ADD_EFUN("_dump_backlog", f__dump_backlog, -  tFunc(tNone,tVoid), OPT_SIDE_EFFECT); +     ADD_EFUN("_gdb_breakpoint", pike_gdb_breakpoint,    tFuncV(tNone,tMix,tVoid), OPT_SIDE_EFFECT);   #endif       ADD_EFUN("_gc_status",f__gc_status,    tFunc(tNone,tMap(tString,tOr(tInt,tFloat))),    OPT_EXTERNAL_DEPEND);    ADD_FUNCTION ("implicit_gc_real_time", f_implicit_gc_real_time,    tFunc(tOr(tInt,tVoid),tInt), OPT_EXTERNAL_DEPEND);    ADD_FUNCTION ("count_memory", f_count_memory,