pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:10160:    tFunc(tInt tOr(tVoid,tSetvar(0,tMix)),tArr(tVar(0))), 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) */    ADD_EFUN("combine_path_nt", f_combine_path_nt, -  tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0); +  tFuncV(tNone, tNStr(tSetvar(0, tInt)), +  tNStr(tOr(tVar(0), tIntSlash))), 0);    ADD_EFUN("combine_path_unix", f_combine_path_unix, -  tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0); +  tFuncV(tNone, tNStr(tSetvar(0, tInt)), +  tNStr(tOr(tVar(0), tIntSlash))), 0);    ADD_EFUN("combine_path_amigaos", f_combine_path_amigaos, -  tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0); +  tFuncV(tNone, tNStr(tSetvar(0, tInt)), +  tNStr(tOr(tVar(0), tIntSlash))), 0);    ADD_EFUN("combine_path",   #if defined(__NT__)    f_combine_path_nt,   #elif defined(__amigaos__)    f_combine_path_amigaos,   #else    f_combine_path_unix,   #endif -  tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0); +  tFuncV(tNone, tNStr(tSetvar(0, tInt)), +  tNStr(tOr(tVar(0), tIntSlash))), 0);       ADD_EFUN("compile", f_compile,    tFunc(tStr tOr(tObj, tVoid) tOr(tInt, tVoid) tOr(tInt, tVoid) tOr(tPrg(tObj), tVoid) tOr(tObj, tVoid) ,tPrg(tObj)),    OPT_EXTERNAL_DEPEND);       /* function(1=mixed:1) */    ADD_EFUN("copy_value",f_copy_value,tFunc(tSetvar(1,tMix),tVar(1)),0);       /* function(string:string)|function(string,string:int) */    ADD_EFUN("crypt",f_crypt,