git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- factor out some SWIG macros
[enigma2.git]
/
lib
/
base
/
smartptr.h
diff --git
a/lib/base/smartptr.h
b/lib/base/smartptr.h
index 7e441ab2976ab67e48e67b89064a72c22fe9ec7f..f9d224b0b445b47a26dbb313f742ec0dcd5a8b14 100644
(file)
--- a/
lib/base/smartptr.h
+++ b/
lib/base/smartptr.h
@@
-3,14
+3,7
@@
#include "object.h"
#include <stdio.h>
#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
template<class T>
class ePtr