Commit Graph

6 Commits

Author SHA1 Message Date
6da2078067 Replace snprintf by UTIL_Format. 2014-08-07 00:51:01 +02:00
8d2770f2f2 Put back original SM headers. 2014-08-07 00:43:29 +02:00
4b652198f0 Fix compilation. 2014-08-06 09:17:54 +02:00
037af0aec2 Split INI/SMC API. 2014-08-06 09:17:47 +02:00
0cf5a2e12f Expose ParseFile_INI to API.
Some minor changes have been made in parser:

- Added ReadINI_ParseStart and ReadINI_ParseEnd call.
- Function returns SMCResult instead of bool. To avoid unecessary complexity and duplicating natives, this feels more appropriate to let these functions to share some SMCResult and SMCParse constants. Since properly documented, this should be ok.
- Made sure curtok is set to 0 when ptr_val is null, otherwise unexpected value would be passed into the forward.
2014-08-06 09:17:45 +02:00
9af7931a79 Introduce TextParser API. 2014-08-06 09:17:43 +02:00