aboutsummaryrefslogtreecommitdiff
path: root/dynstr.c
Commit message (Collapse)AuthorAgeFilesLines
* Call dynstr_init on dynstr_freeXavier Del Campo Romero2020-09-031-1/+1
|
* dynstr_prepend(), fixed typo in commentXavier Del Campo Romero2020-08-031-0/+45
|
* Various minor changesXavier Del Campo Romero2020-06-121-0/+4
| | | | | | | | - Removed trailing ';' from convenience macros. - Convenience macros did not really need the ## __VA_ARGS__ extension. Simply grouping all parameters into '...', while decreasing readability, solves the portability issue. - Added C99 check to dynstr.c.
* Avoid free() if no string is presentXavier Del Campo Romero2020-03-251-2/+5
|
* Various changes and improvementsXaviDCR922020-03-211-14/+37
| | | | | | - Replaced int by specific, more meaningful error codes. - C99 states realloc can be safely called using NULL pointers. - New function dynstr_dup().
* Solved compiler error by adding scope blockXavi Del Campo2020-03-211-22/+25
|
* Replaced unneeded calloc() by malloc()Xavier Del Campo Romero2020-03-201-2/+2
|
* First commitXavi Del Campo2020-03-191-0/+68