William S Fulton
a006091b0f
Add in a definition for RTYPEDDATA_P for Ruby<1.9.3
...
This definition ensures the SWIG wrappers keep compiling in older versions
of Ruby given the previous change (which uses RTYPEDDATA_P and hence
requires Ruby 1.9.3). The definition of RTYPEDDATA_P is such that the
previous commit plus the definition should keep the behaviour the same
as before.
2019-02-22 19:55:55 +00:00
Olly Betts
ab06b22bab
[Ruby] Improve support for Ruby 1.9 under GCC. Addresses part of SF#2859614.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-04 08:52:12 +00:00
Olly Betts
4e1763ba69
[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
2009-06-30 11:50:14 +00:00
William S Fulton
ed68b295a0
undef bind for win32, problem reported by vondruch
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-11 21:01:55 +00:00
Gonzalo Garramuno
b673832720
Added more backwards compatibility macros from ruby1.9.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-04 03:47:55 +00:00
Gonzalo Garramuno
6120c93fc6
Added a couple of new macros used in ruby1.9.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-02 21:41:50 +00:00
William S Fulton
1c163430e3
Fixes global namespace pollution from Ruby\'s win32.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 23:45:44 +00:00
Gonzalo Garramuno
94a6b8ddb1
Revered _mSWIG to rubyhead.swg as some tests would fail.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:43:28 +00:00
Gonzalo Garramuno
d1defceb95
Moved _mSWIG to rubyrun.swg with all other static
...
variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:12:38 +00:00
Gonzalo Garramuno
801fda2b00
Moved Init_stack() declaration over to rubyapi to
...
avoid potential C++ issues.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-02 10:24:23 +00:00
Gonzalo Garramuno
57cca3c3cb
Minor cleanup. Mode RUBY_INIT_STACK macro
...
definition to rubyhead.swg where all the backward
compatability macros are kept.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 22:56:18 +00:00
Gonzalo Garramuno
18f614364f
Improved ruby trackings across DSOs, removing the
...
need for -DSWIG_EXTERN.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 18:48:22 +00:00
Olly Betts
2f6a268e55
Support building with recent versions of the Ruby 1.9 development branch.
...
Fixes bug #1560092 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 21:39:09 +00:00
Marcelo Matus
0d6baa85ef
fix -external-runtime
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
7e5e4fd1f9
massive typemap unification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
Charlie Savage
c5fd02ec59
Object tracking support. Defined two new pointer conversion flags used by SWIG_ConvertPtr and SWIG_NewPointerObj. The new flags are:
...
#define SWIG_POINTER_OWN 0x1
#define SWIG_TRACK_OBJECTS 0x4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:04:06 +00:00
Lyle Johnson
02bb4b0a68
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 03:33:11 +00:00
Lyle Johnson
ae29b50240
Corrections for Ruby 1.6 compatibility.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:37:54 +00:00
Logan Johnson
40cb2afe0d
Added Ruby module runtime support for SWIG_contract_assert() macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:24:13 +00:00
Logan Johnson
87a1b982e3
Add (and use) the SWIG_POINTER_EXCEPTION and SWIG_POINTER_DISOWN flags
...
for the Ruby runtime support. Have not actually implemented support for
"disowning" Ruby pointers yet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:47:27 +00:00
Logan Johnson
8fb4c9fceb
Initial changes for limited MI support in Ruby (still under construction!)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 17:38:42 +00:00
Logan Johnson
afd3a339f1
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:44:05 +00:00
Logan Johnson
7cfddcffc7
Additional fixes for Ruby 1.8 compatibility.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:35:50 +00:00
Logan Johnson
2de683e019
Replaced all occurrences of the deprecated STR2CSTR() in Ruby code with
...
the new StringValuePtr().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:14:18 +00:00
Logan Johnson
71c7bd8442
Add range checking for NUM2USHRT macro, per SF Bug #675353 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 19:22:36 +00:00
Dave Beazley
5c5abff3ac
Partial fix of [ 675353 ] rubyhead.swg: missing cast at NUM2USHRT.
...
Lyle, can you take a look at this:
http://sourceforge.net/tracker/index.php?func=detail&aid=675353&group_id=1645&atid=101645
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:10:14 +00:00
Dave Beazley
12a43edc2d
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00