pike.git
/
src
/
error.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/error.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: error.c,v 1.
134
2004/10/22
20
:
17
:
13
grubba
Exp $
+
|| $Id: error.c,v 1.
135
2004/10/22
23
:
44
:
49
nilsson
Exp $
*/ #define NO_PIKE_SHORTHAND #include "global.h" #include "svalue.h" #include "pike_macros.h" #include "pike_error.h" #include "interpret.h" #include "stralloc.h" #include "builtin_functions.h"
pike.git/src/error.c:950:
make_shared_string(permission_type); ERROR_DONE(generic); } PMOD_EXPORT void wrong_number_of_args_error(const char *name, int args, int expected) { if(expected>args) { bad_arg_error (name, Pike_sp-args, args, expected, NULL, NULL, "Too few arguments to %s(). Expected at least %d (got %d).\n",
-
name,
args,
expected, args);
+
name, expected, args);
}else { bad_arg_error (name, Pike_sp-args, args, expected, NULL, NULL, "Too many arguments to %s(). Expected at most %d (got %d).\n", name, expected, args); } } #ifdef PIKE_DEBUG static void gc_check_throw_value(struct callback *foo, void *bar, void *gazonk) {