--- parser3/src/include/pa_charset.h 2003/02/17 12:13:44 1.20.2.11 +++ parser3/src/include/pa_charset.h 2003/03/06 08:21:09 1.20.2.13 @@ -8,7 +8,7 @@ #ifndef PA_CHARSET_H #define PA_CHARSET_H -static const char* IDENT_CHARSET_H="$Date: 2003/02/17 12:13:44 $"; +static const char* IDENT_CHARSET_H="$Date: 2003/03/06 08:21:09 $"; #include "pa_pool.h" #include "pa_exception.h" @@ -26,6 +26,8 @@ namespace PCRE { // defines +#define MAX_CHARSET_UNI_CODES 500 + # ifndef XMLCh typedef unsigned int XMLCh; # endif @@ -42,7 +44,6 @@ struct Charset_TransRec { registers libxml transcoders */ class Charset: public PA_Object { - Pool pool_for_load; public: Charset(StringPtr aname, StringPtr afile_spec); @@ -86,7 +87,7 @@ public: struct Tables { XMLCh fromTable[0x100]; - Charset_TransRec *toTable; + Charset_TransRec toTable[MAX_CHARSET_UNI_CODES]; uint toTableSize; }; @@ -138,8 +139,6 @@ private: }; DECLARE_OBJECT_PTR(Charset); -extern CharsetPtr UTF8_charset; - #ifdef XML /// Auto-object used to track GdomeDOMString usage class GdomeDOMString_auto_ptr {