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); +} + + +