[Ruby] Undefine close and connect macros defined by Ruby API

headers as we don't need them and they can clash with C++ methods
being wrapped.  Patch from Vit Ondruch in SF#2814430.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2009-06-30 11:50:14 +00:00
commit 4e1763ba69
2 changed files with 12 additions and 1 deletions

View file

@ -1,6 +1,11 @@
Version 1.3.40 (in progress)
============================
2009-06-30: olly
[Ruby] Undefine close and connect macros defined by Ruby API
headers as we don't need them and they can clash with C++ methods
being wrapped. Patch from Vit Ondruch in SF#2814430.
2009-06-26: olly
[Ruby] Fix to handle FIXNUM values greater than MAXINT passed for a
double parameter.
@ -17,7 +22,7 @@ Version 1.3.40 (in progress)
2009-06-02: talby
[Perl] Resolved reference.i overload support problem
identfied by John Potowsky.
identified by John Potowsky.
2009-05-26: wsfulton
[C#] Improved std::map wrappers based on patch from Yuval Baror. The C# proxy

View file

@ -10,6 +10,12 @@
#ifdef bind
# undef bind
#endif
#ifdef close
# undef close
#endif
#ifdef connect
# undef connect
#endif
/* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */