Branch: Tag:

2003-04-02

2003-04-02 19:22:44 by Martin Stjernholm <mast@lysator.liu.se>

Extended all integer argument types shorter than int to int since that's
more efficient.

Rev: src/constants.c:1.47
Rev: src/constants.h:1.30
Rev: src/docode.c:1.164
Rev: src/docode.h:1.18
Rev: src/dynamic_buffer.c:1.23
Rev: src/dynamic_buffer.h:1.18
Rev: src/encode.c:1.171
Rev: src/gc.c:1.216
Rev: src/global.h:1.85
Rev: src/las.c:1.334
Rev: src/las.h:1.62
Rev: src/multiset.c:1.71
Rev: src/pike_memory.c:1.145
Rev: src/pike_memory.h:1.44
Rev: src/pike_search.c:1.14
Rev: src/pike_search.h:1.7
Rev: src/pike_types.c:1.214
Rev: src/pike_types.h:1.86
Rev: src/port.h:1.50
Rev: src/program.c:1.497
Rev: src/program.h:1.181
Rev: src/program_areas.h:1.13
Rev: src/rbtree.h:1.10
Rev: src/svalue.h:1.118

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: constants.c,v 1.46 2003/03/26 18:53:46 nilsson Exp $ + || $Id: constants.c,v 1.47 2003/04/02 19:22:42 mast Exp $   */      #include "global.h"
18:   #include "security.h"   #include "block_alloc.h"    - RCSID("$Id: constants.c,v 1.46 2003/03/26 18:53:46 nilsson Exp $"); + RCSID("$Id: constants.c,v 1.47 2003/04/02 19:22:42 mast Exp $");      struct mapping *builtin_constants = 0;   
75:   PMOD_EXPORT struct callable *low_make_callable(c_fun fun,    struct pike_string *name,    struct pike_type *type, -  INT16 flags, +  int flags,    optimize_fun optimize,    docode_fun docode)   {
104:   PMOD_EXPORT struct callable *make_callable(c_fun fun,    const char *name,    const char *type, -  INT16 flags, +  int flags,    optimize_fun optimize,    docode_fun docode)   {
115:   PMOD_EXPORT struct callable *add_efun2(const char *name,    c_fun fun,    const char *type, -  INT16 flags, +  int flags,    optimize_fun optimize,    docode_fun docode)   {
133:    return ret;   }    - PMOD_EXPORT struct callable *add_efun(const char *name, c_fun fun, const char *type, INT16 flags) + PMOD_EXPORT struct callable *add_efun(const char *name, c_fun fun, const char *type, int flags)   {    return add_efun2(name,fun,type,flags,0,0);   }
141:   PMOD_EXPORT struct callable *quick_add_efun(const char *name, ptrdiff_t name_length,    c_fun fun,    const char *type, ptrdiff_t type_length, -  INT16 flags, +  int flags,    optimize_fun optimize,    docode_fun docode)   {