From 4461988fd159265a9ec9ead6e6ee009c23537426 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 21 Aug 2011 13:20:48 +0000 Subject: [PATCH] Implementation of SP_GetCount has been missing. git-svn-id: svn://svn.cc65.org/cc65/trunk@5241 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/strpool.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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); +} + + + -- 2.39.5