Added new macro for reading last character of vString.

git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@719 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
dhiebert 2009-07-07 03:46:59 +00:00
parent bb43f414e7
commit 8d79a28710
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@
#define vStringValue(vs) ((vs)->buffer)
#define vStringItem(vs,i) ((vs)->buffer[i])
#define vStringLast(vs) ((vs)->buffer[(vs)->length - 1])
#define vStringLength(vs) ((vs)->length)
#define vStringSize(vs) ((vs)->size)
#define vStringCat(vs,s) vStringCatS((vs), vStringValue((s)))