projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add token_to_packed() utility function.
[open-adventure.git]
/
advent.h
diff --git
a/advent.h
b/advent.h
index ff62476379a7f16dda8212109ef28a52cbc02cb5..1a6ab089f2838c19ee762fd3eade3e60ceca9fb0 100644
(file)
--- a/
advent.h
+++ b/
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* 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);
extern void speak(const char*);
extern bool wordeq(token_t, token_t);
extern bool wordempty(token_t);