//
// Shared string class for the CUPS PPD Compiler.
//
-// Copyright 2007-2008 by Apple Inc.
+// Copyright 2007-2009 by Apple Inc.
// Copyright 2002-2005 by Easy Software Products.
//
// These coded instructions, statements, and computer programs are the
ppdcString::ppdcString(const char *v) // I - String
: ppdcShared()
{
+ PPDC_NEWVAL(v);
+
if (v)
{
value = new char[strlen(v) + 1];
ppdcString::~ppdcString()
{
+ PPDC_DELETE;
+
if (value)
delete[] value;
}