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: dynamic_buffer.c,v 1.22 2002/10/20 22:05:07 marcus Exp $ + || $Id: dynamic_buffer.c,v 1.23 2003/04/02 19:22:43 mast Exp $   */      #include "global.h"
11:   #include "pike_error.h"   #include "pike_memory.h"    - RCSID("$Id: dynamic_buffer.c,v 1.22 2002/10/20 22:05:07 marcus Exp $"); + RCSID("$Id: dynamic_buffer.c,v 1.23 2003/04/02 19:22:43 mast Exp $");      static dynamic_buffer buff;   
39:    return ret;   }    - PMOD_EXPORT void low_my_putchar(char b,dynamic_buffer *buf) + PMOD_EXPORT void low_my_putchar(int b,dynamic_buffer *buf)   {   #ifdef PIKE_DEBUG    if(!buf->s.str)
128:      PMOD_EXPORT struct pike_string *debug_free_buf(void) { return low_free_buf(&buff); }   PMOD_EXPORT char *make_buf_space(INT32 space) { return low_make_buf_space(space,&buff); } - PMOD_EXPORT void my_putchar(char b) { low_my_putchar(b,&buff); } + PMOD_EXPORT void my_putchar(int b) { low_my_putchar(b,&buff); }   PMOD_EXPORT void my_binary_strcat(const char *b, ptrdiff_t l) { low_my_binary_strcat(b,l,&buff); }   PMOD_EXPORT void my_strcat(const char *b) { my_binary_strcat(b,strlen(b)); }   PMOD_EXPORT void initialize_global_buf(void) { buff.s.str = NULL; }