lms-video/ImageMagick-6.8.3-1/Magick++/lib/Functions.cpp
2013-02-19 12:28:04 +01:00

22 lines
576 B
C++

// This may look like C code, but it is really -*- C++ -*-
//
// Copyright Bob Friesenhahn, 1999, 2002, 2003
//
// Simple C++ function wrappers for ImageMagick equivalents
//
#define MAGICKCORE_IMPLEMENTATION 1
#define MAGICK_PLUSPLUS_IMPLEMENTATION 1
#include "Magick++/Include.h"
#include <string>
using namespace std;
#include "Magick++/Functions.h"
// Clone C++ string as allocated C string, de-allocating any existing string
void Magick::CloneString( char **destination_, const std::string &source_ )
{
MagickCore::CloneString( destination_, source_.c_str() );
}