Branch: Tag:

2002-11-14

2002-11-14 21:28:52 by Marcus Comstedt <marcus@mc.pp.se>

Made fun argument to apply and safe_apply const.

Rev: src/interpret.c:1.280
Rev: src/interpret.h:1.115

2:   || 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: interpret.h,v 1.114 2002/10/12 11:53:47 grubba Exp $ + || $Id: interpret.h,v 1.115 2002/11/14 21:28:52 marcus Exp $   */      #ifndef INTERPRET_H
396:   PMOD_EXPORT int apply_low_safe_and_stupid(struct object *o, INT32 offset);   PMOD_EXPORT void safe_apply_low(struct object *o,int fun,int args);   PMOD_EXPORT void safe_apply_low2(struct object *o,int fun,int args, int handle_errors); - PMOD_EXPORT void safe_apply(struct object *o, char *fun ,INT32 args); + PMOD_EXPORT void safe_apply(struct object *o, const char *fun ,INT32 args);   PMOD_EXPORT int low_unsafe_apply_handler(const char *fun,    struct object *handler,    struct object *compat,
414:   PMOD_EXPORT void apply_shared(struct object *o,    struct pike_string *fun,    int args); - PMOD_EXPORT void apply(struct object *o, char *fun, int args); + PMOD_EXPORT void apply(struct object *o, const char *fun, int args);   PMOD_EXPORT void apply_svalue(struct svalue *s, INT32 args);   PMOD_EXPORT void slow_check_stack(void);   PMOD_EXPORT void custom_check_stack(ptrdiff_t amount, const char *fmt, ...)