~ubuntu-branches/ubuntu/karmic/exuberant-ctags/karmic-201010031914

« back to all changes in this revision

Viewing changes to vstring.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-07-14 15:05:23 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090714150523-rytn1psh622nb709
Tags: 1:5.8-1
* New upstream release. Debian bugs fixed:
  - Add support for ASP classes (closes: #529215).
* Compress files using gzip -n (cf. debhelper 6.0.6).
* Add a watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
*   $Id: vstring.h 550 2007-06-07 05:50:32Z dhiebert $
 
2
*   $Id: vstring.h 719 2009-07-07 03:46:59Z dhiebert $
3
3
*
4
4
*   Copyright (c) 1998-2002, Darren Hiebert
5
5
*
35
35
 
36
36
#define vStringValue(vs)      ((vs)->buffer)
37
37
#define vStringItem(vs,i)     ((vs)->buffer[i])
 
38
#define vStringLast(vs)       ((vs)->buffer[(vs)->length - 1])
38
39
#define vStringLength(vs)     ((vs)->length)
39
40
#define vStringSize(vs)       ((vs)->size)
40
41
#define vStringCat(vs,s)      vStringCatS((vs), vStringValue((s)))