~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to compizconfig/libcompizconfig/include/ccs-defs.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
#define CCSREF(type,dtype) \
80
80
        void ccs##type##Ref (dtype *d)  \
81
81
        { \
82
 
            d->refCount++; \
 
82
            ++d->refCount; \
83
83
        } \
84
84
        void ccs##type##Unref (dtype *d) \
85
85
        { \
86
 
            d->refCount--; \
 
86
            --d->refCount; \
87
87
            if (d->refCount == 0) \
88
88
                ccsFree##type (d); \
89
89
        } \