pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:3:   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "dynamic_buffer.h"   #include "pike_macros.h"   #include "memory.h"   #include "error.h" + #include "gc.h"      #define BEGIN_HASH_SIZE 997   #define MAX_AVG_LINK_LENGTH 3      unsigned INT32 htable_size=0;   static struct pike_string **base_table=0;   static unsigned INT32 full_hash_value;   unsigned INT32 num_strings=0;      /*** Main string hash function ***/