Add token_to_packed() utility function.
This commit is contained in:
parent
9c88649cd4
commit
ba64c57eb0
2 changed files with 13 additions and 0 deletions
1
advent.h
1
advent.h
|
@ -90,6 +90,7 @@ extern bool oldstyle, editline, prompt;
|
|||
extern void* xmalloc(size_t size);
|
||||
extern char* xstrdup(const char*);
|
||||
extern void packed_to_token(long, char token[]);
|
||||
extern void token_to_packed(char token[], long);
|
||||
extern void speak(const char*);
|
||||
extern bool wordeq(token_t, token_t);
|
||||
extern bool wordempty(token_t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue