aboutsummaryrefslogtreecommitdiff
path: root/lib/base
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-08-17 02:13:50 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-08-17 02:13:50 +0000
commit779cb6e326391280631d0b486957d5e576eb23ea (patch)
tree1ef8cd024822d9317e0965439a8fbd3bb7074962 /lib/base
parenta29d455a1f7860faa7ca1f36586bfc6f6f3337c5 (diff)
downloadenigma2-779cb6e326391280631d0b486957d5e576eb23ea.tar.gz
enigma2-779cb6e326391280631d0b486957d5e576eb23ea.zip
- factor out some SWIG macros
Diffstat (limited to 'lib/base')
-rw-r--r--lib/base/smartptr.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/base/smartptr.h b/lib/base/smartptr.h
index 7e441ab2..f9d224b0 100644
--- a/lib/base/smartptr.h
+++ b/lib/base/smartptr.h
@@ -3,14 +3,7 @@
#include "object.h"
#include <stdio.h>
-
-#ifdef SWIG
-#define TEMPLATE_TYPEDEF(x, y) \
-%template(y) x; \
-typedef x y
-#else
-#define TEMPLATE_TYPEDEF(x, y) typedef x y
-#endif
+#include <lib/python/swig.h>
template<class T>
class ePtr