| 138 | } |
| 139 | |
| 140 | const char *cbm_intern(CBMInternPool *pool, const char *s) { |
| 141 | if (!s) { |
| 142 | return NULL; |
| 143 | } |
| 144 | return cbm_intern_n(pool, s, strlen(s)); |
| 145 | } |
| 146 | |
| 147 | uint32_t cbm_intern_count(const CBMInternPool *pool) { |
| 148 | return pool ? pool->count : 0; |
no test coverage detected