Branch: Tag:


2008-04-14 16:33:32 by Henrik Grubbström (Grubba) <>

safe_apply() et al now return 1 on success and 0 (zero) if an error was caught.

Rev: src/interpret.c:1.395
Rev: src/interpret.h:1.173

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.172 2008/04/14 12:17:17 grubba Exp $ + || $Id: interpret.h,v 1.173 2008/04/14 16:33:32 grubba Exp $   */      #ifndef INTERPRET_H
741:   PMOD_EXPORT void f_call_function(INT32 args);   PMOD_EXPORT void call_handle_error(void);   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, + PMOD_EXPORT int safe_apply_low(struct object *o,int fun,int args); + PMOD_EXPORT int safe_apply_low2(struct object *o,int fun,int args,    const char *fun_name); - PMOD_EXPORT void safe_apply(struct object *o, const char *fun ,INT32 args); + PMOD_EXPORT int 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,