Skip to content

Commit 03e16a8

Browse files
Make it possible to specify cjk module specific state
1 parent a4c7964 commit 03e16a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Modules/cjkcodecs/cjkcodecs.h

+6
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,17 @@ struct pair_encodemap {
6060
DBCHAR code;
6161
};
6262

63+
#ifndef CJK_MOD_SPECIFIC_STATE
64+
#define CJK_MOD_SPECIFIC_STATE
65+
#endif
66+
6367
typedef struct _cjk_mod_state {
6468
int num_mappings;
6569
int num_codecs;
6670
struct dbcs_map *mapping_list;
6771
MultibyteCodec *codec_list;
72+
73+
CJK_MOD_SPECIFIC_STATE
6874
} cjkcodecs_module_state;
6975

7076
static inline cjkcodecs_module_state *

0 commit comments

Comments
 (0)