X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ddc3964ed95d01e72229dc9af968a327cd84e56c..52eb0cac0affc9c39a7a15a5e90bb87ad3a60481:/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 {