#include <math.h>
#include "states.h"
Go to the source code of this file.
Defines | |
#define | NO_STATE ~0 |
#define | free_hash_table(table) global_hash = table |
Typedefs | |
typedef STATE * | HASH_TABLE |
Functions | |
int | hash_add (HASH_TABLE state_table, STATE *state) |
int | hash_lookup (HASH_TABLE state_table, STATE *state) |
HASH_TABLE | new_hash_table () |
Variables | |
HASH_TABLE | global_hash |
#define free_hash_table | ( | table | ) | global_hash = table |
free_hash_table
Free the memory taken by a state variable.
#define NO_STATE ~0 |
typedef STATE* HASH_TABLE |
int hash_add | ( | HASH_TABLE | state_table, | |
STATE * | state | |||
) |
int hash_lookup | ( | HASH_TABLE | state_table, | |
STATE * | state | |||
) |
HASH_TABLE new_hash_table | ( | ) |