Skip to content

v0.9.3

Choose a tag to compare

@abin-z abin-z released this 30 Mar 08:42
· 306 commits to main since this release

Release version v0.9.3

Support custom type conversion function(支持自定义类型转换功能)

Custom type conversion: You can customize type conversion, inifile will automatically convert according to the definition you wrote (reduce duplication)
The following are custom rules:

  1. Use the INIFILE_TYPE_CONVERTER macro to specialize the custom type (Must have a default constructor);
  2. Define encode function, which is used to define how to convert custom types into ini storage strings (the storage string cannot contain newlines);
  3. Define decode function, which is used to define how to convert the ini storage string into a custom type;