Added new macro for reading last character of vString.
Import of CTags revision 719.
This commit is contained in:
parent
8086129c9c
commit
444745f71e
@ -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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user