From: uz Date: Sun, 21 Aug 2011 13:20:48 +0000 (+0000) Subject: Implementation of SP_GetCount has been missing. X-Git-Tag: V2.13.3~221 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4461988fd159265a9ec9ead6e6ee009c23537426;p=cc65 Implementation of SP_GetCount has been missing. git-svn-id: svn://svn.cc65.org/cc65/trunk@5241 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/strpool.c b/src/common/strpool.c index 12dab95b0..87cb2466b 100644 --- a/src/common/strpool.c +++ b/src/common/strpool.c @@ -276,3 +276,11 @@ unsigned SP_AddStr (StringPool* P, const char* S) +unsigned SP_GetCount (const StringPool* P) +/* Return the number of strings in the pool */ +{ + return CollCount (&P->Entries); +} + + +