interface macro changes to support templates

The C++ type must be last in the argument list to support templates with
multiple arguments which are separated by commas.
Affects DECLARE_INTERFACE and DECLARE_INTERFACE_RENAME.
This commit is contained in:
William S Fulton 2016-02-09 07:02:42 +00:00
commit f82efac231
3 changed files with 13 additions and 13 deletions

View file

@ -2,9 +2,9 @@
#if defined(SWIGJAVA) || defined(SWIGCSHARP)
%include "feature_interface.i"
DECLARE_INTERFACE_RENAME(ABase1, ABase1, SWIGTYPE_ABase1)
DECLARE_INTERFACE_RENAME(CBase1, CBase1, SWIGTYPE_CBase1)
DECLARE_INTERFACE_RENAME(CBase2, CBase2, SWIGTYPE_CBase2)
DECLARE_INTERFACE_RENAME(ABase1, SWIGTYPE_ABase1, ABase1)
DECLARE_INTERFACE_RENAME(CBase1, SWIGTYPE_CBase1, CBase1)
DECLARE_INTERFACE_RENAME(CBase2, SWIGTYPE_CBase2, CBase2)
#endif
%inline %{