pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: builtin_functions.c,v 1.663 2008/05/17 14:10:01 marcus Exp $ + || $Id: builtin_functions.c,v 1.664 2008/05/17 22:48:32 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin_functions.c:9309:    tOr(tFunc(tOr(tStr,tMultiset),tArr(tInt)),    tFunc(tOr4(tArr(tSetvar(0,tMix)),    tMap(tMix,tSetvar(0,tMix)),    tObj,tPrg(tObj)),    tArr(tVar(0)))),0,fix_values_type,0);      /* function(mixed:int) */    ADD_EFUN2("zero_type",f_zero_type,tFunc(tMix,tInt01),0,0,generate_zero_type);      /* function(string,string:array) */ -  ADD_EFUN("array_sscanf",f_sscanf,tFunc(tStr tStr,tArray),0); +  ADD_EFUN("array_sscanf", f_sscanf, +  tFunc(tStr tAttr("sscanf_format", tStr), +  tArr(tAttr("sscanf_args", tMix))), 0);      /* function(string,string:array) */ -  ADD_EFUN("array_sscanf_76",f_sscanf_76,tFunc(tStr tStr,tArray),0); +  ADD_EFUN("array_sscanf_76", f_sscanf_76, +  tFunc(tStr tAttr("sscanf_76_format", tStr), +  tArr(tAttr("sscanf_args", tMix))), 0);    -  +  ADD_EFUN("__handle_sscanf_format", f___handle_sscanf_format, +  tFunc(tStr tStr tType(tMix) tType(tMix), tType(tMix)), +  0); +     /* Some Wide-string stuff */      /* function(string:string(0..255)) */    ADD_EFUN("string_to_unicode", f_string_to_unicode,    tFunc(tStr,tStr8), OPT_TRY_OPTIMIZE);      /* function(string(0..255):string) */    ADD_EFUN("unicode_to_string", f_unicode_to_string,    tFunc(tStr8,tStr), OPT_TRY_OPTIMIZE);