Making the string pool in the destination tile

This commit is contained in:
Eric Fischer
2015-08-20 14:50:26 -07:00
parent 863c9a5929
commit ed378681e4
3 changed files with 29 additions and 5 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
struct pool_val {
char *s;
const char *s;
int type;
int n;
@@ -17,7 +17,7 @@ struct pool {
int n;
};
struct pool_val *pool(struct pool *p, char *s, int type);
struct pool_val *pool(struct pool *p, const char *s, int type);
void pool_free(struct pool *p);
void pool_free_strings(struct pool *p);
void pool_init(struct pool *p, int n);