aboutsummaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-02-26 14:38:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-02-26 14:38:41 -0300
commit131d66efd2dc26b05bcb2bdaf67f5175f3eda1aa (patch)
treee912e35e04883c24e89917ee3d94b8fa574f6294 /hash.h
parentbbf1b3060a1aa4e5ec3235a560d3d054457e957d (diff)
downloadlua-131d66efd2dc26b05bcb2bdaf67f5175f3eda1aa.tar.gz
lua-131d66efd2dc26b05bcb2bdaf67f5175f3eda1aa.tar.bz2
lua-131d66efd2dc26b05bcb2bdaf67f5175f3eda1aa.zip
first step in implementing internal methods.
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/hash.h b/hash.h
index d0e26f90..f64de254 100644
--- a/hash.h
+++ b/hash.h
@@ -1,7 +1,7 @@
1/* 1/*
2** hash.h 2** hash.h
3** hash manager for lua 3** hash manager for lua
4** $Id: hash.h,v 2.11 1996/03/08 12:04:04 roberto Exp roberto $ 4** $Id: hash.h,v 2.12 1996/05/06 14:30:27 roberto Exp roberto $
5*/ 5*/
6 6
7#ifndef hash_h 7#ifndef hash_h
@@ -10,19 +10,18 @@
10#include "types.h" 10#include "types.h"
11#include "opcode.h" 11#include "opcode.h"
12 12
13typedef struct node 13typedef struct node {
14{
15 Object ref; 14 Object ref;
16 Object val; 15 Object val;
17} Node; 16} Node;
18 17
19typedef struct Hash 18typedef struct Hash {
20{ 19 struct Hash *next;
21 struct Hash *next; 20 Node *node;
22 Node *node; 21 int nhash;
23 int nhash; 22 int nuse;
24 int nuse; 23 int htag;
25 char mark; 24 char mark;
26} Hash; 25} Hash;
27 26
28 27