fix core text and map ownership
This commit is contained in:
7
fn.h
7
fn.h
@@ -9,12 +9,14 @@ int scmp(Str*, Str*);
|
||||
int stoutf(Str*, char*, int);
|
||||
Rune slastr(Str*);
|
||||
|
||||
Hmap* hmapalloc(int, int);
|
||||
int hmapset(Hmap**, Str*, Str*);
|
||||
Hmap* hmapalloc(int);
|
||||
void hmapfree(Hmap*);
|
||||
void hmapset(Hmap**, Str*, const char*, int);
|
||||
Hnode* hmapget(Hmap*, Str*);
|
||||
int mapget(Trie*, Str*, Str*);
|
||||
|
||||
Trie* trieopen(char*);
|
||||
void trieclose(Trie*);
|
||||
char* trieget(Trie*, char*, int, int*);
|
||||
int trielookup(Trie*, char*, int, char**, int*);
|
||||
|
||||
@@ -23,6 +25,7 @@ void mapinit(char*);
|
||||
void dictinit(char*);
|
||||
|
||||
void dictthread(void*);
|
||||
void dictlookup(Dictreq*, Dictres*);
|
||||
|
||||
void drawthread(void*);
|
||||
void imthread(void*);
|
||||
|
||||
Reference in New Issue
Block a user