Define simple configuration on INI files.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

16 lignes
353 B

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