pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:10168:    /* function(:mapping(string:mixed)) */    ADD_EFUN("all_constants",f_all_constants,    tFunc(tNone,tMap(tStr,tMix)),OPT_EXTERNAL_DEPEND);       /* function(:object) */    ADD_EFUN("get_active_compiler", f_get_active_compiler,    tFunc(tNone, tOr(tObj, tZero)), OPT_EXTERNAL_DEPEND);       /* function(int,void|0=mixed:array(0)) */    ADD_EFUN("allocate", f_allocate, -  tFuncArg(tSetvar(0, tInt), +  tFuncArg(tSetvar(0, tIntPos),    tOr(tFunc(tNone, tLArr(tVar(0), tZero)),    tFunc(tSetvar(1,tMix),tLArr(tVar(0), tVar(1))))), 0);       /* function(mixed:int) */    ADD_EFUN("arrayp", f_arrayp,tFunc(tMix,tInt01),0);       ADD_EFUN("basename", f_basename,    tFunc(tNStr(tSetvar(0, tInt)), tNStr(tVar(0))), 0);       /* function(string...:string) */