- removed bogus token paste operator.

This commit is contained in:
Christoph Oelckers 2016-11-11 14:51:36 +01:00
parent 6529931281
commit 5e8c8b80c9

View file

@ -176,7 +176,7 @@ protected: \
ExportedNatives<cls>(ExportedNatives<cls>&&) = delete; ExportedNatives<cls>(ExportedNatives<cls>&&) = delete;
#define VMEXPORT_NATIVES_FUNC(func) \ #define VMEXPORT_NATIVES_FUNC(func) \
template<class ret, class object, class ... args> ret func(void *ptr, args ... arglist) { return static_cast<object *>(ptr)->object::##func(arglist...); } template<class ret, class object, class ... args> ret func(void *ptr, args ... arglist) { return static_cast<object *>(ptr)->object::func(arglist...); }
#define VMEXPORT_NATIVES_END(cls) }; #define VMEXPORT_NATIVES_END(cls) };