pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:10266:       /* function(1=mixed,int:1) */    ADD_EFUN("set_weak_flag",f_set_weak_flag,    tFunc(tSetvar(1,tMix) tInt,tVar(1)),OPT_SIDE_EFFECT);       ADD_INT_CONSTANT("PIKE_WEAK_INDICES", PIKE_WEAK_INDICES, 0);    ADD_INT_CONSTANT("PIKE_WEAK_VALUES", PIKE_WEAK_VALUES, 0);       /* function(mixed:program|function) */    ADD_EFUN2("object_program", f_object_program, -  tFunc(tMix, tOr(tPrg(tObj),tFunction)), +  tOr(tFunc(tSetvar(0, tObj), tPrg(tVar(0))), +  tFunc(tNot(tObj), tZero)),    OPT_TRY_OPTIMIZE, fix_object_program_type, 0);       /* function(mixed:int) */    ADD_EFUN("objectp", f_objectp,tFunc(tMix,tInt01),0);       /* function(mixed:int) */    ADD_EFUN("programp",f_programp,tFunc(tMix,tInt01),0);       /* function(:int) */    ADD_EFUN("query_num_arg",f_query_num_arg,