| 15 #define STRINGID_NONE ((StringId)0) |
15 #define STRINGID_NONE ((StringId)0) |
| 16 |
16 |
| 17 extern const char *stringstore_get(StringId id); |
17 extern const char *stringstore_get(StringId id); |
| 18 extern StringId stringstore_find(const char *str); |
18 extern StringId stringstore_find(const char *str); |
| 19 extern StringId stringstore_alloc(const char *str); |
19 extern StringId stringstore_alloc(const char *str); |
| |
20 extern StringId stringstore_find_n(const char *str, uint l); |
| |
21 extern StringId stringstore_alloc_n(const char *str, uint l); |
| 20 extern void stringstore_free(StringId id); |
22 extern void stringstore_free(StringId id); |
| 21 extern void stringstore_ref(StringId id); |
23 extern void stringstore_ref(StringId id); |
| 22 |
24 |
| 23 #endif /* LIBTU_STRINGSTORE_H */ |
25 #endif /* LIBTU_STRINGSTORE_H */ |