interpret.h

lpmud/interpret.h · 336 B

From the archive lpmud-1.4.1-A-r11.tar.gz

Download the archive   « Back to the archive contents

struct value {
  int type;
  struct value *next;           /* Linked list of values. */
  union {
    char *string;
    int number;
    struct lnode *ref;
    struct object *ob;
  } u;
};

#define T_INVALID   0
#define T_NUMBER    1
#define T_STRING    2
#define T_REFERENCE 3
#define T_OBJECT    4

extern struct value const0, const1;

Site Stats

Snippets: 1791
Codebases: 571