summaryrefslogtreecommitdiffstats
path: root/ini/ini_comment.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge and serialize commentsDmitri Pal2012-12-061-0/+13
| | | | | | Patch adds ability to combine two different comments into one. It includes changes to the comment API, header file and unit test. It also fixes an invalid free in one of the error cases.
* Refactoring comment objectDmitri Pal2010-12-211-9/+33
| | | | | | | | | | | | | | * Added copy coment functionality * Changed the internal implementation to use array simple buffer instead of the two arrays one for lines and one for lengths * Realigned comments in the header file * Changed the trace macros to use simplified entry and exit macros. * Corrected unit test to return error codes. * Refactored unit test to use array of test functions intead of the direct calls * Added unit test for copy functionality.
* Extend the comment interfaceDmitri Pal2010-09-221-0/+8
| | | | | Take advantage of the already known string length instead of counting bytes once more.
* Refining comment objectDmitri Pal2010-09-221-1/+2
| | | | Comment object should store lengths of the lines.
* Introducing a comment objectDmitri Pal2010-04-301-0/+106
Comment object will store the comments found in the INI file. It is based on the ref_array interface. Fixing review comments for comment obj.