Added new macro for reading last character of vString.

Import of CTags revision 719.
This commit is contained in:
Colomban Wendling 2013-04-15 19:16:55 +02:00
parent 8086129c9c
commit 444745f71e

View File

@ -33,6 +33,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)))