blob: 2d3a9d4edc60570f8fdb8fa339d26a11c7bbc301 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001// This may look like C code, but it is really -*- C++ -*-
2//
3// Copyright Bob Friesenhahn, 1999, 2002, 2003
4//
5// Simple C++ function wrappers for ImageMagick equivalents
6//
7
8#define MAGICKCORE_IMPLEMENTATION 1
9#define MAGICK_PLUSPLUS_IMPLEMENTATION 1
10
cristy3ed852e2009-09-05 21:47:34 +000011#include "Magick++/Include.h"
12#include <string>
13
14using namespace std;
15
16#include "Magick++/Functions.h"
17
18// Clone C++ string as allocated C string, de-allocating any existing string
19void Magick::CloneString( char **destination_, const std::string &source_ )
20{
21 MagickCore::CloneString( destination_, source_.c_str() );
22}