add the SWIGUTL macro to identify a language using the Unified Typemap Library, and using it around
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dafc4dbdfc
commit
1122c39ec4
5 changed files with 8 additions and 5 deletions
|
|
@ -1,5 +1,7 @@
|
|||
%module exception_order
|
||||
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME);
|
||||
|
||||
%include "exception.i"
|
||||
|
||||
%{
|
||||
|
|
@ -13,7 +15,7 @@
|
|||
user's throw declarations.
|
||||
*/
|
||||
|
||||
#if defined(SWIGPERL) || defined(SWIGRUBY)
|
||||
#if defined(SWIGUTL)
|
||||
%exception {
|
||||
try {
|
||||
$action
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
// Check typemap name matching rules for variables
|
||||
// Some of these are using qualified names, which is not right... the test will be adjusted as these get fixed
|
||||
|
||||
#if defined(SWIGPYTHON) || defined(SWIGRUBY)
|
||||
#if defined(SWIGUTL)
|
||||
%{
|
||||
#define TYPEMAP_VARIABLES_FAIL goto fail;
|
||||
#define TYPEMAP_VARIABLES_FAIL SWIG_fail;
|
||||
%}
|
||||
#else
|
||||
%{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue