Add flag to enabla new C++ casting operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cf3f26b5f9
commit
39e2f975cc
2 changed files with 9 additions and 4 deletions
|
|
@ -30,12 +30,12 @@
|
|||
#define SWIG_CCode_frag(Type...) SWIG_StringType(TYPECHECK, Type)
|
||||
|
||||
/* Internal C/C++ API */
|
||||
#ifndef SWIG_NO_CPLUSPLUS_CAST
|
||||
#ifdef SWIG_NO_CPLUSPLUS_CAST
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Enable 'modern' cplusplus casting operators
|
||||
* Disable 'modern' cplusplus casting operators
|
||||
* ----------------------------------------------------------------------------- */
|
||||
#ifndef SWIG_CPLUSPLUS_CAST
|
||||
#define SWIG_CPLUSPLUS_CAST
|
||||
#ifdef SWIG_CPLUSPLUS_CAST
|
||||
#undef SWIG_CPLUSPLUS_CAST
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue