From a5d55d4415d859ed4f5e45134dd433185f628e27 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Fri, 4 Jan 2013 12:03:38 +0000 Subject: [PATCH] We ignore these operators since they don't exist in C# --- library/bindings/PolyVoxCore.i | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/bindings/PolyVoxCore.i b/library/bindings/PolyVoxCore.i index e5ddfa72..f32ee0e3 100644 --- a/library/bindings/PolyVoxCore.i +++ b/library/bindings/PolyVoxCore.i @@ -61,6 +61,14 @@ EXTRACTOR(shortname, LargeVolume) //This will rename "operator=" to "assign" since Python doesn't have assignment %rename(assign) *::operator=; #endif +#ifdef SWIGCSHARP +//These operators are not wrappable in C# and their function is provided by other means +%ignore *::operator=; +%ignore *::operator+=; +%ignore *::operator-=; +%ignore *::operator*=; +%ignore *::operator/=; +#endif %include "stdint.i" %include "std_vector.i"