Branch: Tag:

2001-06-08

2001-06-08 14:26:42 by Martin Stjernholm <mast@lysator.liu.se>

Backported the separate weak indices and values feature from 7.3.

Rev: lib/modules/Pike.pmod:1.1
Rev: src/builtin.cmod:1.18
Rev: src/builtin_functions.c:1.341
Rev: src/builtin_functions.h:1.16
Rev: src/mapping.c:1.117
Rev: src/mapping.h:1.35
Rev: src/svalue.c:1.96
Rev: src/svalue.h:1.76
Rev: src/testsuite.in:1.387

5:   \*/      /* -  * $Id: builtin_functions.h,v 1.15 2000/12/16 05:52:16 marcus Exp $ +  * $Id: builtin_functions.h,v 1.16 2001/06/08 14:26:41 mast Exp $    */   #ifndef BUILTIN_EFUNS_H   #define BUILTIN_EFUNS_H
14:      #include "callback.h"    + /* Weak flags for arrays, multisets and mappings. 1 is avoided for +  * compatibility reasons. */ + #define PIKE_WEAK_INDICES 2 + #define PIKE_WEAK_VALUES 4 + #define PIKE_WEAK_BOTH 6 +    /* Prototypes begin here */   PMOD_EXPORT void debug_f_aggregate(INT32 args);   #ifdef DEBUG_MALLOC