From 9470c8101f9823b9650ba931fc19793b5b070158 Mon Sep 17 00:00:00 2001
From: Amorilia <amorilia@users.sourceforge.net>
Date: Sun, 11 Jun 2006 20:34:15 +0000
Subject: [PATCH] Fixed a problem with SWIG getting confused about NIFLIB_API.

---
 pyniflib.i | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pyniflib.i b/pyniflib.i
index a2e919e3..78cc4c3d 100644
--- a/pyniflib.i
+++ b/pyniflib.i
@@ -63,6 +63,9 @@ POSSIBILITY OF SUCH DAMAGE. */
 }
 #endif
 
+// we need to define this because the wrapper gets confused about NIFLIB_API'd functions otherwise
+#define NIFLIB_API
+
 %{
 	#include "niflib.h"
 %}
-- 
GitLab