]> git.sur5r.net Git - cc65/blobdiff - src/common/strpool.h
Only for jumps, the lib uses named asm labels in branches
[cc65] / src / common / strpool.h
index 967bce4abba33e81bd89a042a6823ea84afcae96..8a6a8faee21a0a1c4a324a2afb3e015a7be6b6f8 100644 (file)
 
 
 /* A string pool is used to store identifiers and other strings. Each string
- * stored in the pool has a unique id, which may be used to access the string
- * in the pool. Identical strings are only stored once in the pool and have
- * identical ids. This means that instead of comparing strings, just the
- * string pool ids must be compared.
- */
+** stored in the pool has a unique ID, which may be used to access the string
+** in the pool. Identical strings are only stored once in the pool and have
+** identical IDs. This means that instead of comparing strings, just the
+** string pool IDs must be compared.
+*/
 
 
 
@@ -84,14 +84,14 @@ const StrBuf* SP_Get (const StringPool* P, unsigned Index);
 
 unsigned SP_Add (StringPool* P, const StrBuf* S);
 /* Add a string buffer to the buffer and return the index. If the string does
- * already exist in the pool, SP_AddBuf will just return the index of the
- * existing string.
- */
+** already exist in the pool, SP_AddBuf will just return the index of the
+** existing string.
+*/
 
 unsigned SP_AddStr (StringPool* P, const char* S);
 /* Add a string to the buffer and return the index. If the string does already
- * exist in the pool, SP_Add will just return the index of the existing string.
- */
+** exist in the pool, SP_Add will just return the index of the existing string.
+*/
 
 unsigned SP_GetCount (const StringPool* P);
 /* Return the number of strings in the pool */