added prefix or postfix

This commit is contained in:
HuYingzhuo(hugo/hyzboy) 2023-06-06 15:07:25 +08:00
parent add5fe2372
commit a24c48bf86
2 changed files with 4 additions and 4 deletions

View File

@ -145,13 +145,13 @@ namespace hgl
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,"us-ascii");
}
CharSet(uint16 ccp,const char *cs)
CharSet(const uint16 ccp,const char *cs)
{
codepage=ccp;
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,cs);
}
CharSet(uint16);
CharSet(const uint16);
CharSet(const u8char *);
CharSet(const CodePageAndCharSet &cs)
@ -164,7 +164,7 @@ namespace hgl
CompOperator(const CharSet &,_Comp)
};//struct CharacterSet
inline CharSet::CharSet(uint16 ccp)
inline CharSet::CharSet(const uint16 ccp)
{
codepage=ccp;
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,FindCharSet(ccp));

View File

@ -12,7 +12,7 @@ namespace hgl
* Windows所支持代码页请参见 http://msdn.microsoft.com/en-us/library/dd317756
* https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
*/
enum class CharCodePage ///代码页枚举
enum class CharCodePage:uint16 ///代码页枚举
{
NONE=0, ///<起始定义,无意义