pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:10159:    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(tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0);       /* function(string...:string) */    ADD_EFUN("combine_path_nt", f_combine_path_nt, -  tFuncV(tNone, tSetvar(0, tStr), tVar(0)), 0); +  tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0);    ADD_EFUN("combine_path_unix", f_combine_path_unix, -  tFuncV(tNone, tSetvar(0, tStr), tVar(0)), 0); +  tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0);    ADD_EFUN("combine_path_amigaos", f_combine_path_amigaos, -  tFuncV(tNone, tSetvar(0, tStr), tVar(0)), 0); +  tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 0); +  ADD_EFUN("combine_path",   #if defined(__NT__) -  ADD_EFUN("combine_path", f_combine_path_nt, -  tFuncV(tNone, tSetvar(0, tStr), tVar(0)), 0); +  f_combine_path_nt, + #elif defined(__amigaos__) +  f_combine_path_amigaos,   #else - #ifdef __amigaos__ -  ADD_EFUN("combine_path", f_combine_path_amigaos, -  tFuncV(tNone, tSetvar(0, tStr), tVar(0)), 0); - #else -  ADD_EFUN("combine_path", f_combine_path_unix, -  tFuncV(tNone, tSetvar(0, tStr), tVar(0)), 0); +  f_combine_path_unix,   #endif - #endif +  tFuncV(tNone, tSetvar(0, tStr), tSetCar(tVar(0), tIntPos)), 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,