fix example max macro/template and external max macro conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
285ecebd14
commit
eef3f9169d
8 changed files with 49 additions and 0 deletions
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
/* Testing technique for wrapping macros */
|
||||
|
||||
%{
|
||||
#ifdef max
|
||||
#undef max
|
||||
#endif
|
||||
%}
|
||||
|
||||
/* Here, some macros to wrap */
|
||||
%inline %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue