Branch: Tag:


2010-02-18 08:52:55 by Stephen R. van den Berg <>

A const is a const is a const.

Rev: src/program.c:1.775
Rev: src/program.h:1.268
Rev: src/svalue.c:1.259
Rev: src/svalue.h:1.172

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: 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
848:    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,
896:    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);