]>
git.ipfire.org Git - thirdparty/cups.git/blob - ppdc/ppdc-shared.cxx
2 // Shared data class for the CUPS PPD Compiler.
4 // Copyright 2007-2009 by Apple Inc.
5 // Copyright 2002-2005 by Easy Software Products.
7 // Licensed under Apache License v2.0. See the file "LICENSE" for more information.
11 // Include necessary headers...
14 #include "ppdc-private.h"
18 // 'ppdcShared::ppdcShared()' - Create shared data.
21 ppdcShared::ppdcShared()
28 // 'ppdcShared::~ppdcShared()' - Destroy shared data.
31 ppdcShared::~ppdcShared()
37 // 'ppdcShared::release()' - Decrement the use count and delete as needed.
41 ppdcShared::release(void)
48 fprintf(stderr
, "ERROR: Over-release of %s: %p\n", class_name(), this);
59 // 'ppdcShared::retain()' - Increment the use count for this data.