Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r1825 - trunk/SwigInterface


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r1825 - trunk/SwigInterface
  • Date: Tue, 6 Nov 2007 12:54:19 -0700 (MST)

Author: bigler
Date: Tue Nov  6 12:54:15 2007
New Revision: 1825

Modified:
   trunk/SwigInterface/mantainterface.i
Log:
SwigInterface/mantainterface.i

  Added some code to get rid of warnings introduced by Steve's RTTI
  stuff.


Modified: trunk/SwigInterface/mantainterface.i
==============================================================================
--- trunk/SwigInterface/mantainterface.i        (original)
+++ trunk/SwigInterface/mantainterface.i        Tue Nov  6 12:54:15 2007
@@ -39,6 +39,17 @@
 %include "std_vector.i"
 %include "exception.i"
 
+ // Ignore readwrite functions for now
+%ignore *::readwrite;
+
+// Some classes complain about not knowing about MantaRTTI.  I don't
+// want to wrap the whole file, because I'm frightened by dealing with
+// it.  For now, I'll create a dummy class that has no methods or data.
+namespace Manta {
+  template<class T>
+  class MantaRTTI {};
+}
+
 %{
 #include <MantaTypes.h>
 #include <Core/Geometry/Vector.h>
@@ -223,7 +234,9 @@
 %ignore Manta::Scene::getBackground() const;
 %ignore Manta::Scene::getLights() const;
 %ignore Manta::Scene::getRenderParameters() const;
+#pragma SWIG nowarn=SWIGWARN_PARSE_NESTED_CLASS
 %include <Interface/Scene.h>
+#pragma SWIG nowarn=+SWIGWARN_PARSE_NESTED_CLASS
 
 %include <Interface/CallbackHelpers.h>
 %include <Interface/Callback.h>




  • [Manta] r1825 - trunk/SwigInterface, bigler, 11/06/2007

Archive powered by MHonArc 2.6.16.

Top of page