[geany/geany] 444745: Added new macro for reading last character of vString.
Colomban Wendling
git-noreply at xxxxx
Wed Jul 3 17:42:12 UTC 2013
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 15 Apr 2013 17:17:57 UTC
Commit: 444745f71ef72d973094df036c1ad0d50003c7ee
https://github.com/geany/geany/commit/444745f71ef72d973094df036c1ad0d50003c7ee
Log Message:
-----------
Added new macro for reading last character of vString.
Import of CTags revision 719.
Modified Paths:
--------------
tagmanager/ctags/vstring.h
Modified: tagmanager/ctags/vstring.h
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -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)))
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list