Branch: Tag:

1999-03-04

1999-03-04 06:05:14 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

::`() and ::`-> implemented

Rev: src/language.yacc:1.112
Rev: src/las.c:1.76
Rev: src/las.h:1.19
Rev: src/main.c:1.65
Rev: src/object.c:1.58
Rev: src/object.h:1.24
Rev: src/program.c:1.113
Rev: src/stralloc.c:1.56
Rev: src/stralloc.h:1.34
Rev: src/testsuite.in:1.153

18:   #include <ctype.h>   #include <math.h>    - RCSID("$Id: stralloc.c,v 1.55 1999/03/01 05:32:35 hubbe Exp $"); + RCSID("$Id: stralloc.c,v 1.56 1999/03/04 06:05:11 hubbe Exp $");      #define BEGIN_HASH_SIZE 997   #define MAX_AVG_LINK_LENGTH 3
892:    }   }    +    /* does not take locale into account */   int generic_quick_binary_strcmp(const char *a,INT32 alen, int asize,    const char *b,INT32 blen, int bsize)
923:    }   }    + int c_compare_string(struct pike_string *s, char *foo, int len) + { +  return s->len == len && s->size_shift == 0 && !MEMCMP(s->str,foo,len); + } +    #ifndef HAVE_STRCOLL   /* No locale function available */   static int low_binary_strcmp(char *a,INT32 alen,