# HG changeset patch # User tuomov # Date 1087596825 -7200 # Node ID 60cb620a034138bbe58c2d9fd7008640ad62fea4 # Parent 401322031c7ee748726e7b2186c4b3b6c439a5aa trunk: changeset 1575 Oops. Forgot stringstore_get. diff -r 401322031c7e -r 60cb620a0341 stringstore.c --- a/stringstore.c Sat Jun 19 00:04:43 2004 +0200 +++ b/stringstore.c Sat Jun 19 00:13:45 2004 +0200 @@ -17,6 +17,12 @@ static Rb_node stringstore=NULL; + +const char *stringstore_get(StringId id) +{ + return (const char*)(((Rb_node)id)->k.key); +} + StringId stringstore_find(const char *str) { diff -r 401322031c7e -r 60cb620a0341 stringstore.h --- a/stringstore.h Sat Jun 19 00:04:43 2004 +0200 +++ b/stringstore.h Sat Jun 19 00:13:45 2004 +0200 @@ -14,6 +14,7 @@ #define STRINGID_NONE ((StringId)0) +extern const char *stringstore_get(StringId id); extern StringId stringstore_find(const char *str); extern StringId stringstore_alloc(const char *str); extern void stringstore_free(StringId id);