Angband
z-quark.h
Go to the documentation of this file.
1 
21 #ifndef INCLUDED_Z_QUARK_H
22 #define INCLUDED_Z_QUARK_H
23 
24 #include "h-basic.h"
25 
29 typedef size_t quark_t;
30 
31 
35 quark_t quark_add(const char *str);
36 
40 const char *quark_str(quark_t q);
41 
45 void quarks_init(void);
46 
50 void quarks_free(void);
51 
52 
53 #endif /* !INCLUDED_Z_QUARK_H */
const char * quark_str(quark_t q)
Return the string corresponding to the quark.
Definition: z-quark.c:50
void quarks_free(void)
De-initialise the quarks package.
Definition: z-quark.c:61
The lowest level header.
quark_t quark_add(const char *str)
Return a quark for the string 'str'.
Definition: z-quark.c:30
void quarks_init(void)
Initialise the quarks package.
Definition: z-quark.c:55
size_t quark_t
Quark type.
Definition: z-quark.h:29