| # | Line 1 | Line 1 | |
|---|---|---|
| 1 | – | #pragma once | 
| 1 | #ifndef INIFILE_H | |
| 2 | #define INIFILE_H | |
| 3 | ||
| 4 | < | #include <stdbool.h> | 
| 4 | > | #include "stdint.h" | 
| 5 | ||
| 6 | < | enum {inifile_cantread = -20}; | 
| 6 | > | typedef void (*inifile_callback)(const char* section, const char* name, const char* value); | 
| 7 | ||
| 8 | < | typedef bool (*inifile_callback)(char* section, bool newsection, char* name, char* value); | 
| 10 | < | |
| 11 | < | bool inifile_read(char* filename, inifile_callback callback); | 
| 8 | > | bool Inifile_Read(const char* filename, const inifile_callback callback); | 
| 9 | ||
| 10 | #endif | |
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines (old) | 
| > | Changed lines (new) |