[Debian-astro-commits] [gyoto] 195/221: Puthon: small adjustments (incl. ignore Photon::Refined) to compile with Swig 3.0

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Fri May 22 20:52:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

thibaut pushed a commit to branch master
in repository gyoto.

commit b3d3a31520cd9dc00d7638384ce15377c261b635
Author: Thibaut Paumard <paumard at users.sourceforge.net>
Date:   Wed Jan 14 19:31:14 2015 +0100

    Puthon: small adjustments (incl. ignore Photon::Refined) to compile with Swig 3.0
---
 python/gyoto.i        | 1 +
 python/gyoto_lorene.i | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/python/gyoto.i b/python/gyoto.i
index 3ee7405..8c803e4 100644
--- a/python/gyoto.i
+++ b/python/gyoto.i
@@ -524,6 +524,7 @@ ExtendArrayNumPy(array_size_t, size_t);
 
 GyotoSmPtrClass(Screen)
 GyotoSmPtrClass(Scenery)
+%ignore Gyoto::Photon::Refined;
 GyotoSmPtrClass(Photon)
 %rename(AstrobjProperties) Gyoto::Astrobj::Properties;
 GyotoSmPtrClassGeneric(Astrobj)
diff --git a/python/gyoto_lorene.i b/python/gyoto_lorene.i
index 501c575..6766946 100644
--- a/python/gyoto_lorene.i
+++ b/python/gyoto_lorene.i
@@ -20,6 +20,8 @@
 #include "GyotoRotStar3_1.h"
 #include "GyotoNumericalMetricLorene.h"
 
+  using namespace Gyoto;
+
 %}
 
 %array_class(double, array_double)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/gyoto.git



More information about the Debian-astro-commits mailing list