shithub: gpufs

ref: 8a6851fa526de6f5dcf5ddabb5609f3a85929e6f
dir: /names.h/

View raw version
typedef struct Name Name;
struct Name {
	uint id;
	char *name;
	Name *next;
};

typedef struct String String;
struct String {
	uint id;
	char *str;
	String *next;
};

void nameadd(uint id, char *name);
char *namelookup(uint id);

void stringadd(uint id, char *str);
char *strlookup(uint id);