Back to index

plt-scheme  4.2.1
Classes | Defines | Typedefs
wb_hash.cxx File Reference
#include "common.h"
#include "wx_list.h"
#include "wx_hash.h"
#include "wx_types.h"
#include <string.h>
#include <stdarg.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  Bucket


#define nl_malloc_bucket_array(size)   GC_malloc_atomic(size)
#define nlGET_WIDGET(x)   x
#define nlGET_OBJECT(x)   x
#define nlALLOC_WIDGET(w)   /* empty */
#define nlALLOC_OBJECT(w)   /* empty */
#define HASH(w)   ((((unsigned long)w) >> 2) % numbuckets)
#define FILL_FACTOR   2 /* inverted max fraction of hash table implying reash */


typedef long nlWidgetRef
typedef struct Bucket Bucket

Class Documentation

struct Bucket

Definition at line 265 of file wb_hash.cxx.

Collaboration diagram for Bucket:
Class Members
wxObject * object
nlWidgetRef widget

Define Documentation

#define FILL_FACTOR   2 /* inverted max fraction of hash table implying reash */

Definition at line 273 of file wb_hash.cxx.

#define HASH (   w)    ((((unsigned long)w) >> 2) % numbuckets)

Definition at line 271 of file wb_hash.cxx.

Definition at line 257 of file wb_hash.cxx.

#define nlALLOC_OBJECT (   w)    /* empty */

Definition at line 262 of file wb_hash.cxx.

#define nlALLOC_WIDGET (   w)    /* empty */

Definition at line 261 of file wb_hash.cxx.

#define nlGET_OBJECT (   x)    x

Definition at line 260 of file wb_hash.cxx.

#define nlGET_WIDGET (   x)    x

Definition at line 259 of file wb_hash.cxx.

Typedef Documentation

typedef struct Bucket Bucket
typedef long nlWidgetRef

Definition at line 258 of file wb_hash.cxx.