pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:10133:    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,    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), tVar(0)), 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);    ADD_EFUN("combine_path_unix", f_combine_path_unix,    tFuncV(tNone, tSetvar(0, tStr), tVar(0)), 0);    ADD_EFUN("combine_path_amigaos", f_combine_path_amigaos,    tFuncV(tNone, tSetvar(0, tStr), tVar(0)), 0);   #if defined(__NT__)    ADD_EFUN("combine_path", f_combine_path_nt,