]> git.sur5r.net Git - cc65/commitdiff
Implementation of SP_GetCount has been missing.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 21 Aug 2011 13:20:48 +0000 (13:20 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 21 Aug 2011 13:20:48 +0000 (13:20 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5241 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/strpool.c

index 12dab95b0e060543bfd6a6d52bdb85dbc334045e..87cb2466b9dfeac4e9fdb1bf309d96f4736dc3fa 100644 (file)
@@ -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);
+}
+
+
+