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