shithub: gpufs

ref: 2456c5671629b47378665485801e73aea7234856
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);