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.559 2004/07/04 16:28:23 srb Exp $ + || $Id: builtin_functions.c,v 1.560 2004/07/04 17:23:02 srb Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.559 2004/07/04 16:28:23 srb Exp $"); + RCSID("$Id: builtin_functions.c,v 1.560 2004/07/04 17:23:02 srb Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"   #include "constants.h"   #include "mapping.h"   #include "stralloc.h"
pike.git/src/builtin_functions.c:7902:    ADD_PROTOTYPE("cast_to_program", tFunc(tStr tStr tOr(tVoid, tObj), tPrg(tObj)), 0);    ADD_PROTOTYPE("compile_error", tFunc(tStr tInt tStr, tVoid), 0);    ADD_PROTOTYPE("compile_warning", tFunc(tStr tInt tStr, tVoid), 0);    ADD_PROTOTYPE("decode_charset", tFunc(tStr tStr, tStr), 0);    ADD_PROTOTYPE("describe_backtrace", tFunc(tOr(tObj, tArr(tMix)) tOr(tVoid, tInt), tStr), 0);    ADD_PROTOTYPE("handle_error", tFunc(tOr(tArr(tMix),tObj), tVoid), 0);    ADD_PROTOTYPE("handle_import",    tFunc(tStr tOr(tStr, tVoid) tOr(tObj, tVoid), tMix), 0);    ADD_PROTOTYPE("handle_include", tFunc(tStr tStr tInt, tStr), 0);    ADD_PROTOTYPE("handle_inherit", tFunc(tStr tStr tOr(tObj, tVoid), tPrg(tObj)), 0); +  ADD_PROTOTYPE("write", tFunc(tStr tOr(tVoid,tMix), tVoid), OPT_SIDE_EFFECT);    ADD_PROTOTYPE("werror", tFunc(tStr tOr(tVoid,tMix), tVoid), OPT_SIDE_EFFECT);       /* FIXME: Are these three actually supposed to be used?    * They are called by encode.c:rec_restore_value    * /grubba 2000-03-13    */      #if 0 /* they are not required - Hubbe */    ADD_PROTOTYPE("functionof", tFunc(tStr, tFunction), ID_OPTIONAL);    ADD_PROTOTYPE("objectof", tFunc(tStr, tObj), ID_OPTIONAL);