Commit 7c7b3da4 authored by Tim Peters's avatar Tim Peters

Added a comment explaining the extern ugliness.

parent 0f27166e
......@@ -57,6 +57,12 @@ struct pair_encodemap {
DBCHAR code;
};
/* There are really static, and (re)declared so later by the expansions
* of the BEGIN_MAPPINGS_LIST and BEGIN_CODECS_LIST macros, but it's
* not legal C to declare a static array of unknown size. It would be
* better if the code were rearranged so as to not require declaration
* of these names before the macros define them.
*/
extern const MultibyteCodec codec_list[];
extern const struct dbcs_map mapping_list[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment