shithub: gpufs

ref: 5781e4d2a29054abc5d659e9ca867604cba4513f
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);