diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-07 08:38:14 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-07 08:38:14 +0000 |
commit | c8b946aa94251a93fc934d8e3e875f5f26fcfcfd (patch) | |
tree | fc12576f960b4b7786e28852282dd1a6a110b05c /stringbuf.h | |
parent | 7b7ac189f8f914def4b29322e72372c689c7fcb2 (diff) | |
download | rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.tar.gz rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.tar.xz rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.zip |
performance-tuned stringbuf class
Diffstat (limited to 'stringbuf.h')
-rwxr-xr-x | stringbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stringbuf.h b/stringbuf.h index b345dd47..59f6e2fc 100755 --- a/stringbuf.h +++ b/stringbuf.h @@ -118,6 +118,7 @@ rsRetVal rsCStrAppendStrWithLen(rsCStrObj *pThis, uchar* psz, size_t iStrLen); * if you are very well aware why you are doing it ;)
*/
void rsCStrSetAllocIncrement(rsCStrObj *pThis, int iNewIncrement);
+#define rsCStrGetAllocIncrement(pThis) ((pThis)->iAllocIncrement)
/**
* Append an integer to the string. No special formatting is
|