X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e677ac4a7bf81391877c909a703e5918ce4a511b..1cdf6cb021fcaa6548b90ba7b6765cf1e8b8b37b:/lib/base/smartptr.h diff --git a/lib/base/smartptr.h b/lib/base/smartptr.h index 906bba69..159eeb2c 100644 --- a/lib/base/smartptr.h +++ b/lib/base/smartptr.h @@ -4,6 +4,14 @@ #include "object.h" #include +#ifdef SWIG +#define TEMPLATE_TYPEDEF(x, y) \ +%template(y) x; \ +typedef x y +#else +#define TEMPLATE_TYPEDEF(x, y) typedef x y +#endif + template class ePtr {