pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: program.h,v 1.125 2001/04/14 09:44:21 hubbe Exp $ +  * $Id: program.h,v 1.126 2001/04/28 19:32:56 mast Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_types.h"   #include "pike_macros.h"   #include "svalue.h"   #include "time_stuff.h"
pike.git/src/program.h:519:   void gc_zap_ext_weak_refs_in_programs(void);   void gc_free_all_unreferenced_programs(void);   void count_memory_in_programs(INT32 *num_, INT32 *size_);   void push_compiler_frame(int lexical_scope);   void pop_local_variables(int level);   void pop_compiler_frame(void);   ptrdiff_t low_get_storage(struct program *o, struct program *p);   PMOD_EXPORT char *get_storage(struct object *o, struct program *p);   struct program *low_program_from_function(struct program *p,    INT32 i); - PMOD_EXPORT struct program *program_from_function(struct svalue *f); - PMOD_EXPORT struct program *program_from_svalue(struct svalue *s); + PMOD_EXPORT struct program *program_from_function(const struct svalue *f); + PMOD_EXPORT struct program *program_from_svalue(const struct svalue *s);   struct find_child_cache_s;   int find_child(struct program *parent, struct program *child);   void yywarning(char *fmt, ...) ATTRIBUTE((format(printf,1,2)));   struct implements_cache_s;   PMOD_EXPORT int implements(struct program *a, struct program *b);   PMOD_EXPORT int is_compatible(struct program *a, struct program *b);   int yyexplain_not_implements(struct program *a, struct program *b, int flags);   PMOD_EXPORT void *parent_storage(int depth);   PMOD_EXPORT void change_compiler_compatibility(int major, int minor);   /* Prototypes end here */