summaryrefslogtreecommitdiff
path: root/src/chunk.h
AgeCommit message (Collapse)Author
2014-12-13Removed cmark_ prefix on chunk and strbuf.John MacFarlane
This isn't needed any more since we don't expose these in the API.
2014-11-28Always define short name macros for private symbolsNick Wellnhofer
Since chunk.h and buffer.h are private now, there's no need to optionally disable the short name macros.
2014-11-18Add node constructor and accessors to the public APINick Wellnhofer
The approach I'm taking is to copy inline literals internally to NULL-terminated C strings if requested by an accessor. This allows to return a 'const char *' that doesn't have to be freed by the caller.
2014-11-16Cast void pointers explicitlyNick Wellnhofer
Needed for C++ compatibility.
2014-11-16Rename include guards for consistency and to avoid reserved identifiersCraig Barnes
2014-11-12Prefix names in chunk.hNick Wellnhofer
2014-11-12Prefix names in buffer.hNick Wellnhofer
2014-10-06- Use of calloc instead of malloctchetch
- Test for NULL after allocation
2014-09-09Rename to strbufVicent Marti
2014-09-09Add chunk.hVicent Marti