pike.git / src / program.h

version» Context lines:

pike.git/src/program.h: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: program.h,v 1.267 2009/09/12 13:31:38 grubba Exp $ + || $Id: program.h,v 1.268 2010/02/18 08:52:55 srb Exp $   */      #ifndef PROGRAM_H   #define PROGRAM_H      #include "global.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "svalue.h"   #include "dmalloc.h"
pike.git/src/program.h:841:    int type_length,    INT32 run_time_type,    INT32 flags);   int define_variable(struct pike_string *name,    struct pike_type *type,    INT32 flags);   PMOD_EXPORT int simple_add_variable(const char *name,    const char *type,    INT32 flags);   PMOD_EXPORT int add_constant(struct pike_string *name, -  struct svalue *c, +  const struct svalue *c,    INT32 flags);   PMOD_EXPORT int simple_add_constant(const char *name,    struct svalue *c,    INT32 flags);   PMOD_EXPORT int add_integer_constant(const char *name,    INT_ARG_TYPE i,    INT32 flags);   PMOD_EXPORT int quick_add_integer_constant(const char *name,    int name_length,    INT_ARG_TYPE i,
pike.git/src/program.h:889:    int flags);   PMOD_EXPORT int low_find_lfun(struct program *p, ptrdiff_t lfun);   int lfun_lookup_id(struct pike_string *lfun_name);   int low_find_shared_string_identifier(struct pike_string *name,    struct program *prog);   struct ff_hash;   int find_shared_string_identifier(struct pike_string *name,    struct program *prog);   PMOD_EXPORT int find_identifier(const char *name,struct program *prog);   int store_prog_string(struct pike_string *str); - int store_constant(struct svalue *foo, + int store_constant(const struct svalue *foo,    int equal,    struct pike_string *constant_name);   struct array *program_indices(struct program *p);   struct array *program_values(struct program *p);   int program_index_no_free(struct svalue *to, struct svalue *what,    struct svalue *ind);   int get_small_number(char **q);   void ext_store_program_line (struct program *prog, INT32 line, struct pike_string *file);   void start_line_numbering(void);   void store_linenumber(INT32 current_line, struct pike_string *current_file);