// Map a CharCode to Unicode.
int mapToUnicode(CharCode c, Unicode *u, int size);
+ // Return the mapping's length, i.e., one more than the max char
+ // code supported by the mapping.
+ CharCode getLength() { return mapLen; }
+
private:
void parseCMap1(int (*getCharFunc)(void *), void *data, int nBits);
CharCodeToUnicodeString *sMap;
int sMapLen, sMapSize;
int refCnt;
-#ifdef MULTITHREADED
+#if MULTITHREADED
GMutex mutex;
#endif
};