PythonMagick-0.9.1 fails to build (and patches to fix it)
David Sveningsson <[email protected]> Fri, 02 Jul 2010 18:08:34 +0200
| Newsgroups | gmane.comp.video.image-magick.bugs |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------030707010500040902010402
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, I'm sorry if I'm not reporting this issue at the proper place, but I
wasn't able to find any where else.
When trying to build PythonMagick-0.9.1 it failed due to a number of issues.
using:
ImageMagick-6.6.2.5
gcc-4.4.4
glibc-2.11.2
boost-1.42.0
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.
- -I../config -I/usr/include/python2.6 -I/usr/include
- -I/usr/include/ImageMagick -march=native -Os -pipe -msse3 -g -ggdb
- -DBOOST_PYTHON_DYNAMIC_LIB -MT libpymagick_la-_DrawableText.lo -MD -MP
- -MF .deps/libpymagick_la-_DrawableText.Tpo -c _DrawableText.cpp -fPIC
- -DPIC -o .libs/libpymagick_la-_DrawableText.o
In file included from /usr/include/ImageMagick/Magick++.h:11,
from _PathMovetoAbs.cpp:14:
/usr/include/ImageMagick/Magick++/Image.h:122: error: reference to
'ssize_t' is ambiguous
/usr/include/sys/types.h:110: error: candidates are: typedef __ssize_t
ssize_t
/usr/include/boost/python/ssize_t.hpp:15: error: typedef
Py_ssize_t boost::python::ssize_t
/usr/include/ImageMagick/Magick++/Image.h:122: error: ISO C++ forbids
declaration of 'ssize_t' with no type
/usr/include/ImageMagick/Magick++/Image.h:122: error: expected ',' or
'...' before 'offset'
[snip]
The problem seems to be the usage of "using namespace boost::python;"
before including Magick++.h. If I swap the order of those that error
goes away but I get another error instead:
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
- -I../config -I/usr/include/python2.6 -I/usr/include
- -I/usr/include/ImageMagick -g -O2 -DBOOST_PYTHON_DYNAMIC_LIB -MT
libpymagick_la-_Image.lo -MD -MP -MF .deps/libpymagick_la-_Image.Tpo -c
- -o libpymagick_la-_Image.lo `test -f '_Image.cpp' || echo './'`_Image.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config
- -I/usr/include/python2.6 -I/usr/include -I/usr/include/ImageMagick -g
- -O2 -DBOOST_PYTHON_DYNAMIC_LIB -MT libpymagick_la-_Image.lo -MD -MP -MF
.deps/libpymagick_la-_Image.Tpo -c _Image.cpp -fPIC -DPIC -o
.libs/libpymagick_la-_Image.o
_Image.cpp: In function ?void Export_pyste_src_Image()?:
_Image.cpp:89: error: address of overloaded function with no contextual
type information
_Image.cpp:90: error: address of overloaded function with no contextual
type information
_Image.cpp:97: error: address of overloaded function with no contextual
type information
_Image.cpp:114: error: address of overloaded function with no contextual
type information
[snip]
This seems to be caused by a API change from {un,}signed int's to
{,s}size_t, so updating these fixes the problem.
So here are two patches fixing the build problems and now it seems to work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwuDwIACgkQ6pa1H/H5pqXXgwCguIkk0pZWScfWWd8OKFSlaPoz
s/oAmgLoaLNBAXdNO82Ak/8Lc842p5Ll
=Endz
-----END PGP SIGNATURE-----
--------------030707010500040902010402
Content-Type: text/plain;
name="pythonmagick-0.9.1-01-namespace.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="pythonmagick-0.9.1-01-namespace.patch"
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableAffine.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableAffine.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableAffine.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableAffine.cpp 2010-07-02 17:18:51.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableAffine_Wrapper: Magick::DrawableAffine
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableArc.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableArc.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableArc.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableArc.cpp 2010-07-02 17:15:44.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableArc_Wrapper: Magick::DrawableArc
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableBezier.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableBezier.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableBezier.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableBezier.cpp 2010-07-02 17:23:23.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableBezier_Wrapper: Magick::DrawableBezier
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableCircle.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableCircle.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableCircle.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableCircle.cpp 2010-07-02 17:14:42.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableCircle_Wrapper: Magick::DrawableCircle
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableClipPath.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableClipPath.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableClipPath.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableClipPath.cpp 2010-07-02 17:15:31.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableClipPath_Wrapper: Magick::DrawableClipPath
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableColor.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableColor.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableColor.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableColor.cpp 2010-07-02 17:25:27.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableColor_Wrapper: Magick::DrawableColor
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableCompositeImage.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableCompositeImage.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableCompositeImage.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableCompositeImage.cpp 2010-07-02 17:13:32.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableCompositeImage_Wrapper: Magick::DrawableCompositeImage
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_Drawable.cpp PythonMagick-0.9.1/pythonmagick_src/_Drawable.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_Drawable.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_Drawable.cpp 2010-07-02 17:33:25.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
// Module ======================================================================
void Export_pyste_src_Drawable()
{
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableDashArray.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableDashArray.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableDashArray.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableDashArray.cpp 2010-07-02 17:17:50.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableDashArray_Wrapper: Magick::DrawableDashArray
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableDashOffset.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableDashOffset.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableDashOffset.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableDashOffset.cpp 2010-07-02 17:26:14.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableDashOffset_Wrapper: Magick::DrawableDashOffset
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableEllipse.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableEllipse.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableEllipse.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableEllipse.cpp 2010-07-02 17:20:38.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableEllipse_Wrapper: Magick::DrawableEllipse
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableFillColor.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableFillColor.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableFillColor.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableFillColor.cpp 2010-07-02 17:31:14.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableFillColor_Wrapper: Magick::DrawableFillColor
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableFillOpacity.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableFillOpacity.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableFillOpacity.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableFillOpacity.cpp 2010-07-02 17:32:23.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableFillOpacity_Wrapper: Magick::DrawableFillOpacity
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableFillRule.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableFillRule.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableFillRule.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableFillRule.cpp 2010-07-02 17:03:25.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableFillRule_Wrapper: Magick::DrawableFillRule
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableFont.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableFont.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableFont.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableFont.cpp 2010-07-02 17:18:28.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableFont_Wrapper: Magick::DrawableFont
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableGravity.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableGravity.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableGravity.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableGravity.cpp 2010-07-02 17:29:55.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableGravity_Wrapper: Magick::DrawableGravity
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableLine.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableLine.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableLine.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableLine.cpp 2010-07-02 17:22:00.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableLine_Wrapper: Magick::DrawableLine
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableMatte.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableMatte.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableMatte.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableMatte.cpp 2010-07-02 17:23:34.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableMatte_Wrapper: Magick::DrawableMatte
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableMiterLimit.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableMiterLimit.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableMiterLimit.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableMiterLimit.cpp 2010-07-02 17:33:52.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableMiterLimit_Wrapper: Magick::DrawableMiterLimit
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePath.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePath.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePath.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePath.cpp 2010-07-02 17:28:42.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePath_Wrapper: Magick::DrawablePath
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePoint.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePoint.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePoint.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePoint.cpp 2010-07-02 17:14:59.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePoint_Wrapper: Magick::DrawablePoint
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePointSize.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePointSize.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePointSize.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePointSize.cpp 2010-07-02 17:25:46.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePointSize_Wrapper: Magick::DrawablePointSize
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePolygon.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePolygon.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePolygon.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePolygon.cpp 2010-07-02 17:32:36.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePolygon_Wrapper: Magick::DrawablePolygon
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePolyline.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePolyline.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePolyline.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePolyline.cpp 2010-07-02 17:29:45.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePolyline_Wrapper: Magick::DrawablePolyline
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePopClipPath.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePopClipPath.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePopClipPath.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePopClipPath.cpp 2010-07-02 17:29:12.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePopClipPath_Wrapper: Magick::DrawablePopClipPath
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePopGraphicContext.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePopGraphicContext.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePopGraphicContext.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePopGraphicContext.cpp 2010-07-02 17:31:00.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePopGraphicContext_Wrapper: Magick::DrawablePopGraphicContext
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePopPattern.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePopPattern.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePopPattern.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePopPattern.cpp 2010-07-02 17:30:38.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePopPattern_Wrapper: Magick::DrawablePopPattern
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePushClipPath.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePushClipPath.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePushClipPath.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePushClipPath.cpp 2010-07-02 17:26:00.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePushClipPath_Wrapper: Magick::DrawablePushClipPath
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePushGraphicContext.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePushGraphicContext.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePushGraphicContext.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePushGraphicContext.cpp 2010-07-02 17:28:26.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePushGraphicContext_Wrapper: Magick::DrawablePushGraphicContext
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePushPattern.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawablePushPattern.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawablePushPattern.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawablePushPattern.cpp 2010-07-02 17:16:29.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawablePushPattern_Wrapper: Magick::DrawablePushPattern
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableRectangle.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableRectangle.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableRectangle.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableRectangle.cpp 2010-07-02 17:33:35.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableRectangle_Wrapper: Magick::DrawableRectangle
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableRotation.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableRotation.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableRotation.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableRotation.cpp 2010-07-02 17:13:11.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableRotation_Wrapper: Magick::DrawableRotation
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableRoundRectangle.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableRoundRectangle.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableRoundRectangle.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableRoundRectangle.cpp 2010-07-02 17:20:10.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableRoundRectangle_Wrapper: Magick::DrawableRoundRectangle
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableScaling.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableScaling.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableScaling.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableScaling.cpp 2010-07-02 17:19:24.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableScaling_Wrapper: Magick::DrawableScaling
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableSkewX.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableSkewX.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableSkewX.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableSkewX.cpp 2010-07-02 17:18:07.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableSkewX_Wrapper: Magick::DrawableSkewX
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableSkewY.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableSkewY.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableSkewY.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableSkewY.cpp 2010-07-02 17:22:48.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableSkewY_Wrapper: Magick::DrawableSkewY
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeAntialias.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeAntialias.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeAntialias.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeAntialias.cpp 2010-07-02 17:27:20.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableStrokeAntialias_Wrapper: Magick::DrawableStrokeAntialias
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeColor.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeColor.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeColor.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeColor.cpp 2010-07-02 17:26:48.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableStrokeColor_Wrapper: Magick::DrawableStrokeColor
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeLineCap.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeLineCap.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeLineCap.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeLineCap.cpp 2010-07-02 17:30:45.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableStrokeLineCap_Wrapper: Magick::DrawableStrokeLineCap
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeLineJoin.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeLineJoin.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeLineJoin.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeLineJoin.cpp 2010-07-02 17:31:27.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableStrokeLineJoin_Wrapper: Magick::DrawableStrokeLineJoin
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeOpacity.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeOpacity.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeOpacity.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeOpacity.cpp 2010-07-02 17:27:55.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableStrokeOpacity_Wrapper: Magick::DrawableStrokeOpacity
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeWidth.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeWidth.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableStrokeWidth.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableStrokeWidth.cpp 2010-07-02 17:23:08.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableStrokeWidth_Wrapper: Magick::DrawableStrokeWidth
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableTextAntialias.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableTextAntialias.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableTextAntialias.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableTextAntialias.cpp 2010-07-02 17:18:56.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableTextAntialias_Wrapper: Magick::DrawableTextAntialias
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableText.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableText.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableText.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableText.cpp 2010-07-02 17:04:00.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableText_Wrapper: Magick::DrawableText
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableTextDecoration.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableTextDecoration.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableTextDecoration.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableTextDecoration.cpp 2010-07-02 17:17:06.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableTextDecoration_Wrapper: Magick::DrawableTextDecoration
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableTextUnderColor.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableTextUnderColor.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableTextUnderColor.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableTextUnderColor.cpp 2010-07-02 17:32:12.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableTextUnderColor_Wrapper: Magick::DrawableTextUnderColor
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableTranslation.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableTranslation.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableTranslation.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableTranslation.cpp 2010-07-02 17:23:53.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableTranslation_Wrapper: Magick::DrawableTranslation
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableViewbox.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableViewbox.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableViewbox.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableViewbox.cpp 2010-07-02 17:19:29.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_DrawableViewbox_Wrapper: Magick::DrawableViewbox
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathArcAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathArcAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathArcAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathArcAbs.cpp 2010-07-02 17:21:04.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathArcAbs_Wrapper: Magick::PathArcAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathArcArgs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathArcArgs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathArcArgs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathArcArgs.cpp 2010-07-02 17:22:34.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
// Module ======================================================================
void Export_pyste_src_PathArcArgs()
{
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathArcRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathArcRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathArcRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathArcRel.cpp 2010-07-02 17:15:16.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathArcRel_Wrapper: Magick::PathArcRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathClosePath.cpp PythonMagick-0.9.1/pythonmagick_src/_PathClosePath.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathClosePath.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathClosePath.cpp 2010-07-02 17:34:07.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathClosePath_Wrapper: Magick::PathClosePath
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathCurvetoAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathCurvetoAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathCurvetoAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathCurvetoAbs.cpp 2010-07-02 17:26:28.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathCurvetoAbs_Wrapper: Magick::PathCurvetoAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathCurvetoArgs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathCurvetoArgs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathCurvetoArgs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathCurvetoArgs.cpp 2010-07-02 17:29:31.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
// Module ======================================================================
void Export_pyste_src_PathCurvetoArgs()
{
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathCurvetoRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathCurvetoRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathCurvetoRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathCurvetoRel.cpp 2010-07-02 17:28:12.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathCurvetoRel_Wrapper: Magick::PathCurvetoRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathLinetoAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathLinetoAbs.cpp 2010-07-02 17:16:09.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathLinetoAbs_Wrapper: Magick::PathLinetoAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoHorizontalAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathLinetoHorizontalAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoHorizontalAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathLinetoHorizontalAbs.cpp 2010-07-02 17:30:19.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathLinetoHorizontalAbs_Wrapper: Magick::PathLinetoHorizontalAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoHorizontalRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathLinetoHorizontalRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoHorizontalRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathLinetoHorizontalRel.cpp 2010-07-02 17:33:14.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathLinetoHorizontalRel_Wrapper: Magick::PathLinetoHorizontalRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathLinetoRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathLinetoRel.cpp 2010-07-02 17:22:20.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathLinetoRel_Wrapper: Magick::PathLinetoRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoVerticalAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathLinetoVerticalAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoVerticalAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathLinetoVerticalAbs.cpp 2010-07-02 17:14:26.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathLinetoVerticalAbs_Wrapper: Magick::PathLinetoVerticalAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoVerticalRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathLinetoVerticalRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathLinetoVerticalRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathLinetoVerticalRel.cpp 2010-07-02 17:25:12.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathLinetoVerticalRel_Wrapper: Magick::PathLinetoVerticalRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathMovetoAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathMovetoAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathMovetoAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathMovetoAbs.cpp 2010-07-02 17:03:43.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathMovetoAbs_Wrapper: Magick::PathMovetoAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathMovetoRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathMovetoRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathMovetoRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathMovetoRel.cpp 2010-07-02 17:32:54.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathMovetoRel_Wrapper: Magick::PathMovetoRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathQuadraticCurvetoAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathQuadraticCurvetoAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathQuadraticCurvetoAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathQuadraticCurvetoAbs.cpp 2010-07-02 17:17:27.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathQuadraticCurvetoAbs_Wrapper: Magick::PathQuadraticCurvetoAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathQuadraticCurvetoArgs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathQuadraticCurvetoArgs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathQuadraticCurvetoArgs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathQuadraticCurvetoArgs.cpp 2010-07-02 17:28:58.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
// Module ======================================================================
void Export_pyste_src_PathQuadraticCurvetoArgs()
{
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathQuadraticCurvetoRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathQuadraticCurvetoRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathQuadraticCurvetoRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathQuadraticCurvetoRel.cpp 2010-07-02 17:20:04.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathQuadraticCurvetoRel_Wrapper: Magick::PathQuadraticCurvetoRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathSmoothCurvetoAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathSmoothCurvetoAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathSmoothCurvetoAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathSmoothCurvetoAbs.cpp 2010-07-02 17:14:06.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathSmoothCurvetoAbs_Wrapper: Magick::PathSmoothCurvetoAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathSmoothCurvetoRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathSmoothCurvetoRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathSmoothCurvetoRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathSmoothCurvetoRel.cpp 2010-07-02 17:34:22.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathSmoothCurvetoRel_Wrapper: Magick::PathSmoothCurvetoRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathSmoothQuadraticCurvetoAbs.cpp PythonMagick-0.9.1/pythonmagick_src/_PathSmoothQuadraticCurvetoAbs.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathSmoothQuadraticCurvetoAbs.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathSmoothQuadraticCurvetoAbs.cpp 2010-07-02 17:31:53.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathSmoothQuadraticCurvetoAbs_Wrapper: Magick::PathSmoothQuadraticCurvetoAbs
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_PathSmoothQuadraticCurvetoRel.cpp PythonMagick-0.9.1/pythonmagick_src/_PathSmoothQuadraticCurvetoRel.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_PathSmoothQuadraticCurvetoRel.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_PathSmoothQuadraticCurvetoRel.cpp 2010-07-02 17:27:37.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
namespace {
struct Magick_PathSmoothQuadraticCurvetoRel_Wrapper: Magick::PathSmoothQuadraticCurvetoRel
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_VPath.cpp PythonMagick-0.9.1/pythonmagick_src/_VPath.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_VPath.cpp 2010-07-02 15:26:02.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_VPath.cpp 2010-07-02 17:27:02.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Drawable.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
#include <Magick++.h>
+// Using =======================================================================
+using namespace boost::python;
+
// Module ======================================================================
void Export_pyste_src_VPath()
{
--------------030707010500040902010402
Content-Type: text/plain;
name="pythonmagick-0.9.1-02-size_t.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="pythonmagick-0.9.1-02-size_t.patch"
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableDashArray.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableDashArray.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableDashArray.cpp 2010-07-02 17:42:13.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableDashArray.cpp 2010-07-02 17:51:46.000000000 +0200
@@ -19,7 +19,7 @@
Magick_DrawableDashArray_Wrapper(PyObject* py_self_, const double* p0):
Magick::DrawableDashArray(p0), py_self(py_self_) {}
- Magick_DrawableDashArray_Wrapper(PyObject* py_self_, const unsigned int* p0):
+ Magick_DrawableDashArray_Wrapper(PyObject* py_self_, const size_t* p0):
Magick::DrawableDashArray(p0), py_self(py_self_) {}
Magick_DrawableDashArray_Wrapper(PyObject* py_self_, const Magick::DrawableDashArray& p0):
@@ -37,7 +37,7 @@
void Export_pyste_src_DrawableDashArray()
{
class_< Magick::DrawableDashArray, Magick_DrawableDashArray_Wrapper >("DrawableDashArray", init< const double* >())
- .def(init< const unsigned int* >())
+ .def(init< const size_t* >())
.def(init< const Magick::DrawableDashArray& >())
;
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableMiterLimit.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableMiterLimit.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableMiterLimit.cpp 2010-07-02 17:42:13.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableMiterLimit.cpp 2010-07-02 17:52:36.000000000 +0200
@@ -31,8 +31,8 @@
void Export_pyste_src_DrawableMiterLimit()
{
class_< Magick::DrawableMiterLimit, boost::noncopyable, Magick_DrawableMiterLimit_Wrapper >("DrawableMiterLimit", init< unsigned int >())
- .def("miterlimit", (void (Magick::DrawableMiterLimit::*)(unsigned int) )&Magick::DrawableMiterLimit::miterlimit)
- .def("miterlimit", (unsigned int (Magick::DrawableMiterLimit::*)() const)&Magick::DrawableMiterLimit::miterlimit)
+ .def("miterlimit", (void (Magick::DrawableMiterLimit::*)(size_t) )&Magick::DrawableMiterLimit::miterlimit)
+ .def("miterlimit", (size_t (Magick::DrawableMiterLimit::*)() const)&Magick::DrawableMiterLimit::miterlimit)
;
}
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableViewbox.cpp PythonMagick-0.9.1/pythonmagick_src/_DrawableViewbox.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_DrawableViewbox.cpp 2010-07-02 17:42:13.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_DrawableViewbox.cpp 2010-07-02 17:52:02.000000000 +0200
@@ -31,14 +31,14 @@
void Export_pyste_src_DrawableViewbox()
{
class_< Magick::DrawableViewbox, boost::noncopyable, Magick_DrawableViewbox_Wrapper >("DrawableViewbox", init< long unsigned int, long unsigned int, long unsigned int, long unsigned int >())
- .def("x1", (void (Magick::DrawableViewbox::*)(long unsigned int) )&Magick::DrawableViewbox::x1)
- .def("x1", (long unsigned int (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::x1)
- .def("y1", (void (Magick::DrawableViewbox::*)(long unsigned int) )&Magick::DrawableViewbox::y1)
- .def("y1", (long unsigned int (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::y1)
- .def("x2", (void (Magick::DrawableViewbox::*)(long unsigned int) )&Magick::DrawableViewbox::x2)
- .def("x2", (long unsigned int (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::x2)
- .def("y2", (void (Magick::DrawableViewbox::*)(long unsigned int) )&Magick::DrawableViewbox::y2)
- .def("y2", (long unsigned int (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::y2)
+ .def("x1", (void (Magick::DrawableViewbox::*)(long size_t) )&Magick::DrawableViewbox::x1)
+ .def("x1", (long size_t (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::x1)
+ .def("y1", (void (Magick::DrawableViewbox::*)(long size_t) )&Magick::DrawableViewbox::y1)
+ .def("y1", (long size_t (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::y1)
+ .def("x2", (void (Magick::DrawableViewbox::*)(long size_t) )&Magick::DrawableViewbox::x2)
+ .def("x2", (long size_t (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::x2)
+ .def("y2", (void (Magick::DrawableViewbox::*)(long size_t) )&Magick::DrawableViewbox::y2)
+ .def("y2", (long size_t (Magick::DrawableViewbox::*)() const)&Magick::DrawableViewbox::y2)
;
}
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_Geometry.cpp PythonMagick-0.9.1/pythonmagick_src/_Geometry.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_Geometry.cpp 2010-07-02 17:41:47.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_Geometry.cpp 2010-07-02 17:52:17.000000000 +0200
@@ -7,25 +7,26 @@
#include <Magick++/Geometry.h>
// Using =======================================================================
-using namespace boost::python;
+//using namespace boost::python;
// Module ======================================================================
void Export_pyste_src_Geometry()
+
{
- class_< Magick::Geometry >("Geometry", init< >())
- .def(init< unsigned int, unsigned int, optional< unsigned int, unsigned int, bool, bool > >())
- .def(init< const std::string& >())
- .def(init< const char* >())
- .def(init< const Magick::Geometry& >())
- .def(init< const MagickCore::RectangleInfo& >())
- .def("width", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::width)
- .def("width", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::width)
- .def("height", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::height)
- .def("height", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::height)
- .def("xOff", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::xOff)
- .def("xOff", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::xOff)
- .def("yOff", (void (Magick::Geometry::*)(unsigned int) )&Magick::Geometry::yOff)
- .def("yOff", (unsigned int (Magick::Geometry::*)() const)&Magick::Geometry::yOff)
+ boost::python::class_< Magick::Geometry >("Geometry", boost::python::init< >())
+ .def(boost::python::init< unsigned int, unsigned int, boost::python::optional< unsigned int, unsigned int, bool, bool > >())
+ .def(boost::python::init< const std::string& >())
+ .def(boost::python::init< const char* >())
+ .def(boost::python::init< const Magick::Geometry& >())
+ .def(boost::python::init< const MagickCore::RectangleInfo& >())
+ .def("width", (void (Magick::Geometry::*)(size_t) )&Magick::Geometry::width)
+ .def("width", (size_t (Magick::Geometry::*)() const)&Magick::Geometry::width)
+ .def("height", (void (Magick::Geometry::*)(size_t) )&Magick::Geometry::height)
+ .def("height", (size_t (Magick::Geometry::*)() const)&Magick::Geometry::height)
+ .def("xOff", (void (Magick::Geometry::*)(ssize_t) )&Magick::Geometry::xOff)
+ .def("xOff", (ssize_t (Magick::Geometry::*)() const)&Magick::Geometry::xOff)
+ .def("yOff", (void (Magick::Geometry::*)(ssize_t) )&Magick::Geometry::yOff)
+ .def("yOff", (ssize_t (Magick::Geometry::*)() const)&Magick::Geometry::yOff)
.def("xNegative", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::xNegative)
.def("xNegative", (bool (Magick::Geometry::*)() const)&Magick::Geometry::xNegative)
.def("yNegative", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::yNegative)
@@ -40,15 +41,15 @@
.def("less", (bool (Magick::Geometry::*)() const)&Magick::Geometry::less)
.def("isValid", (void (Magick::Geometry::*)(bool) )&Magick::Geometry::isValid)
.def("isValid", (bool (Magick::Geometry::*)() const)&Magick::Geometry::isValid)
- .def( self <= self )
- .def( self == self )
- .def( self > self )
- .def( self != self )
- .def( self < self )
- .def( self >= self )
+ .def( boost::python::self <= boost::python::self )
+ .def( boost::python::self == boost::python::self )
+ .def( boost::python::self > boost::python::self )
+ .def( boost::python::self != boost::python::self )
+ .def( boost::python::self < boost::python::self )
+ .def( boost::python::self >= boost::python::self )
.def("to_std_string", &Magick::Geometry::operator std::string)
.def("to_MagickCore_RectangleInfo", &Magick::Geometry::operator MagickCore::RectangleInfo)
;
-implicitly_convertible<std::string,Magick::Geometry>();}
+boost::python::implicitly_convertible<std::string,Magick::Geometry>();}
diff -ru PythonMagick-0.9.1.orig/pythonmagick_src/_Image.cpp PythonMagick-0.9.1/pythonmagick_src/_Image.cpp
--- PythonMagick-0.9.1.orig/pythonmagick_src/_Image.cpp 2010-07-02 17:41:47.000000000 +0200
+++ PythonMagick-0.9.1/pythonmagick_src/_Image.cpp 2010-07-02 17:50:50.000000000 +0200
@@ -6,12 +6,12 @@
// Includes ====================================================================
#include <Magick++/Image.h>
-// Using =======================================================================
-using namespace boost::python;
-
// Declarations ================================================================
namespace {
+// Using =======================================================================
+//using namespace boost::python;
+
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_adaptiveThreshold_overloads_2_3, adaptiveThreshold, 2, 3)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Image_blur_overloads_0_2, blur, 0, 2)
@@ -65,17 +65,17 @@
// Module ======================================================================
void Export_pyste_src_Image()
{
- class_< Magick::Image >("Image", init< >())
- .def(init< const std::string& >())
- .def(init< const Magick::Geometry&, const Magick::Color& >())
- .def(init< const Magick::Blob& >())
- .def(init< const Magick::Blob&, const Magick::Geometry& >())
- .def(init< const Magick::Blob&, const Magick::Geometry&, const unsigned int >())
- .def(init< const Magick::Blob&, const Magick::Geometry&, const unsigned int, const std::string& >())
- .def(init< const Magick::Blob&, const Magick::Geometry&, const std::string& >())
- .def(init< const unsigned int, const unsigned int, const std::string&, const MagickCore::StorageType, const void* >())
- .def(init< const Magick::Image& >())
- .def(init< MagickCore::Image* >())
+ boost::python::class_< Magick::Image >("Image", boost::python::init< >())
+ .def(boost::python::init< const std::string& >())
+ .def(boost::python::init< const Magick::Geometry&, const Magick::Color& >())
+ .def(boost::python::init< const Magick::Blob& >())
+ .def(boost::python::init< const Magick::Blob&, const Magick::Geometry& >())
+ .def(boost::python::init< const Magick::Blob&, const Magick::Geometry&, const unsigned int >())
+ .def(boost::python::init< const Magick::Blob&, const Magick::Geometry&, const unsigned int, const std::string& >())
+ .def(boost::python::init< const Magick::Blob&, const Magick::Geometry&, const std::string& >())
+ .def(boost::python::init< const unsigned int, const unsigned int, const std::string&, const MagickCore::StorageType, const void* >())
+ .def(boost::python::init< const Magick::Image& >())
+ .def(boost::python::init< MagickCore::Image* >())
.def("adaptiveThreshold", &Magick::Image::adaptiveThreshold, Magick_Image_adaptiveThreshold_overloads_2_3())
.def("addNoise", &Magick::Image::addNoise)
.def("affineTransform", &Magick::Image::affineTransform)
@@ -86,15 +86,15 @@
.def("blur", &Magick::Image::blur, Magick_Image_blur_overloads_0_2())
.def("border", &Magick::Image::border, Magick_Image_border_overloads_0_1())
.def("channel", &Magick::Image::channel)
- .def("channelDepth", (void (Magick::Image::*)(const MagickCore::ChannelType, const unsigned int) )&Magick::Image::channelDepth)
- .def("channelDepth", (unsigned int (Magick::Image::*)(const MagickCore::ChannelType) )&Magick::Image::channelDepth)
+ .def("channelDepth", (void (Magick::Image::*)(const MagickCore::ChannelType, const size_t) )&Magick::Image::channelDepth)
+ .def("channelDepth", (size_t (Magick::Image::*)(const MagickCore::ChannelType) )&Magick::Image::channelDepth)
.def("charcoal", &Magick::Image::charcoal, Magick_Image_charcoal_overloads_0_2())
.def("chop", &Magick::Image::chop)
.def("colorize", (void (Magick::Image::*)(const unsigned int, const unsigned int, const unsigned int, const Magick::Color&) )&Magick::Image::colorize)
.def("colorize", (void (Magick::Image::*)(const unsigned int, const Magick::Color&) )&Magick::Image::colorize)
.def("comment", (void (Magick::Image::*)(const std::string&) )&Magick::Image::comment)
.def("compare", &Magick::Image::compare)
- .def("composite", (void (Magick::Image::*)(const Magick::Image&, const int, const int, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_3_4())
+ .def("composite", (void (Magick::Image::*)(const Magick::Image&, const ssize_t, const ssize_t, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_3_4())
.def("composite", (void (Magick::Image::*)(const Magick::Image&, const Magick::Geometry&, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_2_3())
.def("composite", (void (Magick::Image::*)(const Magick::Image&, const MagickCore::GravityType, const MagickCore::CompositeOperator) )&Magick::Image::composite, Magick_Image_composite_overloads_2_3())
.def("contrast", &Magick::Image::contrast)
@@ -111,18 +111,18 @@
.def("equalize", &Magick::Image::equalize)
.def("erase", &Magick::Image::erase)
.def("flip", &Magick::Image::flip)
- .def("floodFillColor", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Color&) )&Magick::Image::floodFillColor)
+ .def("floodFillColor", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Color&) )&Magick::Image::floodFillColor)
.def("floodFillColor", (void (Magick::Image::*)(const Magick::Geometry&, const Magick::Color&) )&Magick::Image::floodFillColor)
- .def("floodFillColor", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Color&, const Magick::Color&) )&Magick::Image::floodFillColor)
+ .def("floodFillColor", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Color&, const Magick::Color&) )&Magick::Image::floodFillColor)
.def("floodFillColor", (void (Magick::Image::*)(const Magick::Geometry&, const Magick::Color&, const Magick::Color&) )&Magick::Image::floodFillColor)
.def("floodFillOpacity", &Magick::Image::floodFillOpacity)
- .def("floodFillTexture", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Image&) )&Magick::Image::floodFillTexture)
+ .def("floodFillTexture", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Image&) )&Magick::Image::floodFillTexture)
.def("floodFillTexture", (void (Magick::Image::*)(const Magick::Geometry&, const Magick::Image&) )&Magick::Image::floodFillTexture)
- .def("floodFillTexture", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Image&, const Magick::Color&) )&Magick::Image::floodFillTexture)
+ .def("floodFillTexture", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Image&, const Magick::Color&) )&Magick::Image::floodFillTexture)
.def("floodFillTexture", (void (Magick::Image::*)(const Magick::Geometry&, const Magick::Image&, const Magick::Color&) )&Magick::Image::floodFillTexture)
.def("flop", &Magick::Image::flop)
.def("frame", (void (Magick::Image::*)(const Magick::Geometry&) )&Magick::Image::frame, Magick_Image_frame_overloads_0_1())
- .def("frame", (void (Magick::Image::*)(const unsigned int, const unsigned int, const int, const int) )&Magick::Image::frame, Magick_Image_frame_overloads_2_4())
+ .def("frame", (void (Magick::Image::*)(const size_t, const size_t, const ssize_t, const ssize_t) )&Magick::Image::frame, Magick_Image_frame_overloads_2_4())
.def("gamma", (void (Magick::Image::*)(const double) )&Magick::Image::gamma)
.def("gamma", (void (Magick::Image::*)(const double, const double, const double) )&Magick::Image::gamma)
.def("gaussianBlur", &Magick::Image::gaussianBlur)
@@ -148,15 +148,15 @@
.def("read", (void (Magick::Image::*)(const Magick::Geometry&, const std::string&) )&Magick::Image::read)
.def("read", (void (Magick::Image::*)(const Magick::Blob&) )&Magick::Image::read)
.def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&) )&Magick::Image::read)
- .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const unsigned int) )&Magick::Image::read)
- .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const unsigned int, const std::string&) )&Magick::Image::read)
+ .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const size_t) )&Magick::Image::read)
+ .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const size_t, const std::string&) )&Magick::Image::read)
.def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const std::string&) )&Magick::Image::read)
- .def("read", (void (Magick::Image::*)(const unsigned int, const unsigned int, const std::string&, const MagickCore::StorageType, const void*) )&Magick::Image::read)
+ .def("read", (void (Magick::Image::*)(const size_t, const size_t, const std::string&, const MagickCore::StorageType, const void*) )&Magick::Image::read)
.def("reduceNoise", (void (Magick::Image::*)() )&Magick::Image::reduceNoise)
.def("reduceNoise", (void (Magick::Image::*)(const double) )&Magick::Image::reduceNoise)
.def("resize", &Magick::Image::resize)
.def("roll", (void (Magick::Image::*)(const Magick::Geometry&) )&Magick::Image::roll)
- .def("roll", (void (Magick::Image::*)(const unsigned int, const unsigned int) )&Magick::Image::roll)
+ .def("roll", (void (Magick::Image::*)(const size_t, const size_t) )&Magick::Image::roll)
.def("rotate", &Magick::Image::rotate)
.def("sample", &Magick::Image::sample)
.def("scale", &Magick::Image::scale)
@@ -182,17 +182,17 @@
.def("write", (void (Magick::Image::*)(const std::string&) )&Magick::Image::write)
.def("write", (void (Magick::Image::*)(Magick::Blob*) )&Magick::Image::write)
.def("write", (void (Magick::Image::*)(Magick::Blob*, const std::string&) )&Magick::Image::write)
- .def("write", (void (Magick::Image::*)(Magick::Blob*, const std::string&, const unsigned int) )&Magick::Image::write)
- .def("write", (void (Magick::Image::*)(const int, const int, const unsigned int, const unsigned int, const std::string&, const MagickCore::StorageType, void*) )&Magick::Image::write)
+ .def("write", (void (Magick::Image::*)(Magick::Blob*, const std::string&, const size_t) )&Magick::Image::write)
+ .def("write", (void (Magick::Image::*)(const ssize_t, const ssize_t, const size_t, const size_t, const std::string&, const MagickCore::StorageType, void*) )&Magick::Image::write)
.def("zoom", &Magick::Image::zoom)
.def("adjoin", (void (Magick::Image::*)(const bool) )&Magick::Image::adjoin)
.def("adjoin", (bool (Magick::Image::*)() const)&Magick::Image::adjoin)
.def("antiAlias", (void (Magick::Image::*)(const bool) )&Magick::Image::antiAlias)
.def("antiAlias", (bool (Magick::Image::*)() )&Magick::Image::antiAlias)
- .def("animationDelay", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::animationDelay)
- .def("animationDelay", (unsigned int (Magick::Image::*)() const)&Magick::Image::animationDelay)
- .def("animationIterations", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::animationIterations)
- .def("animationIterations", (unsigned int (Magick::Image::*)() const)&Magick::Image::animationIterations)
+ .def("animationDelay", (void (Magick::Image::*)(const size_t) )&Magick::Image::animationDelay)
+ .def("animationDelay", (size_t (Magick::Image::*)() const)&Magick::Image::animationDelay)
+ .def("animationIterations", (void (Magick::Image::*)(const size_t) )&Magick::Image::animationIterations)
+ .def("animationIterations", (size_t (Magick::Image::*)() const)&Magick::Image::animationIterations)
.def("attribute", (void (Magick::Image::*)(const std::string, const std::string) )&Magick::Image::attribute)
.def("attribute", (std::string (Magick::Image::*)(const std::string) )&Magick::Image::attribute)
.def("backgroundColor", (void (Magick::Image::*)(const Magick::Color&) )&Magick::Image::backgroundColor)
@@ -222,10 +222,10 @@
.def("clipMask", (Magick::Image (Magick::Image::*)() const)&Magick::Image::clipMask)
.def("colorFuzz", (void (Magick::Image::*)(const double) )&Magick::Image::colorFuzz)
.def("colorFuzz", (double (Magick::Image::*)() const)&Magick::Image::colorFuzz)
- .def("colorMap", (void (Magick::Image::*)(const unsigned int, const Magick::Color&) )&Magick::Image::colorMap)
- .def("colorMap", (Magick::Color (Magick::Image::*)(const unsigned int) const)&Magick::Image::colorMap)
- .def("colorMapSize", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::colorMapSize)
- .def("colorMapSize", (unsigned int (Magick::Image::*)() )&Magick::Image::colorMapSize)
+ .def("colorMap", (void (Magick::Image::*)(const size_t, const Magick::Color&) )&Magick::Image::colorMap)
+ .def("colorMap", (Magick::Color (Magick::Image::*)(const size_t) const)&Magick::Image::colorMap)
+ .def("colorMapSize", (void (Magick::Image::*)(const size_t) )&Magick::Image::colorMapSize)
+ .def("colorMapSize", (size_t (Magick::Image::*)() )&Magick::Image::colorMapSize)
.def("colorSpace", (void (Magick::Image::*)(const MagickCore::ColorspaceType) )&Magick::Image::colorSpace)
.def("colorSpace", (MagickCore::ColorspaceType (Magick::Image::*)() const)&Magick::Image::colorSpace)
.def("columns", &Magick::Image::columns)
@@ -242,8 +242,8 @@
.def("defineSet", (bool (Magick::Image::*)(const std::string&, const std::string&) const)&Magick::Image::defineSet)
.def("density", (void (Magick::Image::*)(const Magick::Geometry&) )&Magick::Image::density)
.def("density", (Magick::Geometry (Magick::Image::*)() const)&Magick::Image::density)
- .def("depth", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::depth)
- .def("depth", (unsigned int (Magick::Image::*)() const)&Magick::Image::depth)
+ .def("depth", (void (Magick::Image::*)(const size_t) )&Magick::Image::depth)
+ .def("depth", (size_t (Magick::Image::*)() const)&Magick::Image::depth)
.def("directory", &Magick::Image::directory)
.def("endian", (void (Magick::Image::*)(const MagickCore::EndianType) )&Magick::Image::endian)
.def("endian", (MagickCore::EndianType (Magick::Image::*)() const)&Magick::Image::endian)
@@ -266,8 +266,8 @@
.def("format", &Magick::Image::format)
.def("gamma", (double (Magick::Image::*)() const)&Magick::Image::gamma)
.def("geometry", &Magick::Image::geometry)
- .def("gifDisposeMethod", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::gifDisposeMethod)
- .def("gifDisposeMethod", (unsigned int (Magick::Image::*)() const)&Magick::Image::gifDisposeMethod)
+ .def("gifDisposeMethod", (void (Magick::Image::*)(const size_t) )&Magick::Image::gifDisposeMethod)
+ .def("gifDisposeMethod", (size_t (Magick::Image::*)() const)&Magick::Image::gifDisposeMethod)
.def("iccColorProfile", (void (Magick::Image::*)(const Magick::Blob&) )&Magick::Image::iccColorProfile)
.def("iccColorProfile", (Magick::Blob (Magick::Image::*)() const)&Magick::Image::iccColorProfile)
.def("interlaceType", (void (Magick::Image::*)(const MagickCore::InterlaceType) )&Magick::Image::interlaceType)
@@ -286,8 +286,8 @@
.def("matteColor", (void (Magick::Image::*)(const Magick::Color&) )&Magick::Image::matteColor)
.def("matteColor", (Magick::Color (Magick::Image::*)() const)&Magick::Image::matteColor)
.def("meanErrorPerPixel", &Magick::Image::meanErrorPerPixel)
- .def("modulusDepth", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::modulusDepth)
- .def("modulusDepth", (unsigned int (Magick::Image::*)() const)&Magick::Image::modulusDepth)
+ .def("modulusDepth", (void (Magick::Image::*)(const size_t) )&Magick::Image::modulusDepth)
+ .def("modulusDepth", (size_t (Magick::Image::*)() const)&Magick::Image::modulusDepth)
.def("montageGeometry", &Magick::Image::montageGeometry)
.def("monochrome", (void (Magick::Image::*)(const bool) )&Magick::Image::monochrome)
.def("monochrome", (bool (Magick::Image::*)() const)&Magick::Image::monochrome)
@@ -299,27 +299,27 @@
.def("penColor", (Magick::Color (Magick::Image::*)() const)&Magick::Image::penColor)
.def("penTexture", (void (Magick::Image::*)(const Magick::Image&) )&Magick::Image::penTexture)
.def("penTexture", (Magick::Image (Magick::Image::*)() const)&Magick::Image::penTexture)
- .def("pixelColor", (void (Magick::Image::*)(const unsigned int, const unsigned int, const Magick::Color&) )&Magick::Image::pixelColor)
- .def("pixelColor", (Magick::Color (Magick::Image::*)(const unsigned int, const unsigned int) const)&Magick::Image::pixelColor)
+ .def("pixelColor", (void (Magick::Image::*)(const ssize_t, const ssize_t, const Magick::Color&) )&Magick::Image::pixelColor)
+ .def("pixelColor", (Magick::Color (Magick::Image::*)(const ssize_t, const ssize_t) const)&Magick::Image::pixelColor)
.def("profile", (void (Magick::Image::*)(const std::string, const Magick::Blob&) )&Magick::Image::profile)
.def("profile", (Magick::Blob (Magick::Image::*)(const std::string) const)&Magick::Image::profile)
- .def("quality", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::quality)
- .def("quality", (unsigned int (Magick::Image::*)() const)&Magick::Image::quality)
- .def("quantizeColors", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::quantizeColors)
- .def("quantizeColors", (unsigned int (Magick::Image::*)() const)&Magick::Image::quantizeColors)
+ .def("quality", (void (Magick::Image::*)(const size_t) )&Magick::Image::quality)
+ .def("quality", (size_t (Magick::Image::*)() const)&Magick::Image::quality)
+ .def("quantizeColors", (void (Magick::Image::*)(const size_t) )&Magick::Image::quantizeColors)
+ .def("quantizeColors", (size_t (Magick::Image::*)() const)&Magick::Image::quantizeColors)
.def("quantizeColorSpace", (void (Magick::Image::*)(const MagickCore::ColorspaceType) )&Magick::Image::quantizeColorSpace)
.def("quantizeColorSpace", (MagickCore::ColorspaceType (Magick::Image::*)() const)&Magick::Image::quantizeColorSpace)
.def("quantizeDither", (void (Magick::Image::*)(const bool) )&Magick::Image::quantizeDither)
.def("quantizeDither", (bool (Magick::Image::*)() const)&Magick::Image::quantizeDither)
- .def("quantizeTreeDepth", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::quantizeTreeDepth)
- .def("quantizeTreeDepth", (unsigned int (Magick::Image::*)() const)&Magick::Image::quantizeTreeDepth)
+ .def("quantizeTreeDepth", (void (Magick::Image::*)(const size_t) )&Magick::Image::quantizeTreeDepth)
+ .def("quantizeTreeDepth", (size_t (Magick::Image::*)() const)&Magick::Image::quantizeTreeDepth)
.def("renderingIntent", (void (Magick::Image::*)(const MagickCore::RenderingIntent) )&Magick::Image::renderingIntent)
.def("renderingIntent", (MagickCore::RenderingIntent (Magick::Image::*)() const)&Magick::Image::renderingIntent)
.def("resolutionUnits", (void (Magick::Image::*)(const MagickCore::ResolutionType) )&Magick::Image::resolutionUnits)
.def("resolutionUnits", (MagickCore::ResolutionType (Magick::Image::*)() const)&Magick::Image::resolutionUnits)
.def("rows", &Magick::Image::rows)
- .def("scene", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::scene)
- .def("scene", (unsigned int (Magick::Image::*)() const)&Magick::Image::scene)
+ .def("scene", (void (Magick::Image::*)(const size_t) )&Magick::Image::scene)
+ .def("scene", (size_t (Magick::Image::*)() const)&Magick::Image::scene)
.def("signature", &Magick::Image::signature, Magick_Image_signature_overloads_0_1())
.def("size", (void (Magick::Image::*)(const Magick::Geometry&) )&Magick::Image::size)
.def("size", (Magick::Geometry (Magick::Image::*)() const)&Magick::Image::size)
@@ -334,16 +334,16 @@
.def("strokeLineCap", (MagickCore::LineCap (Magick::Image::*)() const)&Magick::Image::strokeLineCap)
.def("strokeLineJoin", (void (Magick::Image::*)(const MagickCore::LineJoin) )&Magick::Image::strokeLineJoin)
.def("strokeLineJoin", (MagickCore::LineJoin (Magick::Image::*)() const)&Magick::Image::strokeLineJoin)
- .def("strokeMiterLimit", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::strokeMiterLimit)
- .def("strokeMiterLimit", (unsigned int (Magick::Image::*)() const)&Magick::Image::strokeMiterLimit)
+ .def("strokeMiterLimit", (void (Magick::Image::*)(const size_t) )&Magick::Image::strokeMiterLimit)
+ .def("strokeMiterLimit", (size_t (Magick::Image::*)() const)&Magick::Image::strokeMiterLimit)
.def("strokePattern", (void (Magick::Image::*)(const Magick::Image&) )&Magick::Image::strokePattern)
.def("strokePattern", (Magick::Image (Magick::Image::*)() const)&Magick::Image::strokePattern)
.def("strokeWidth", (void (Magick::Image::*)(const double) )&Magick::Image::strokeWidth)
.def("strokeWidth", (double (Magick::Image::*)() const)&Magick::Image::strokeWidth)
- .def("subImage", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::subImage)
- .def("subImage", (unsigned int (Magick::Image::*)() const)&Magick::Image::subImage)
- .def("subRange", (void (Magick::Image::*)(const unsigned int) )&Magick::Image::subRange)
- .def("subRange", (unsigned int (Magick::Image::*)() const)&Magick::Image::subRange)
+ .def("subImage", (void (Magick::Image::*)(const size_t) )&Magick::Image::subImage)
+ .def("subImage", (size_t (Magick::Image::*)() const)&Magick::Image::subImage)
+ .def("subRange", (void (Magick::Image::*)(const size_t) )&Magick::Image::subRange)
+ .def("subRange", (size_t (Magick::Image::*)() const)&Magick::Image::subRange)
.def("textEncoding", (void (Magick::Image::*)(const std::string&) )&Magick::Image::textEncoding)
.def("textEncoding", (std::string (Magick::Image::*)() const)&Magick::Image::textEncoding)
.def("tileName", (void (Magick::Image::*)(const std::string&) )&Magick::Image::tileName)
@@ -371,12 +371,12 @@
.def("registerId", &Magick::Image::registerId)
.def("unregisterId", &Magick::Image::unregisterId)
.staticmethod("cacheThreshold")
- .def( self == self )
- .def( self != self )
- .def( self > self )
- .def( self < self )
- .def( self >= self )
- .def( self <= self )
+ .def( boost::python::self == boost::python::self )
+ .def( boost::python::self != boost::python::self )
+ .def( boost::python::self > boost::python::self )
+ .def( boost::python::self < boost::python::self )
+ .def( boost::python::self >= boost::python::self )
+ .def( boost::python::self <= boost::python::self )
;
}
--------------030707010500040902010402
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs
--------------030707010500040902010402--