Define simple configuration on INI files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

string.h 330 B

1234567891011121314
  1. #ifndef INI_CONFIG_TYPES_STRING_H
  2. #define INI_CONFIG_TYPES_STRING_H
  3. #include "ini-config.h"
  4. INI_CONFIG_DECLARE_TYPE(String);
  5. #define INI_CONFIG_TYPE_STRING(X) (INI_ConfigType) { \
  6. .size = (sizeof(char) * X), \
  7. .load = INI_ConfigLoadString, \
  8. .save = INI_ConfigSaveString, \
  9. .override = INI_ConfigOverrideString, \
  10. }
  11. #endif