Commit graph

41 commits

Author SHA1 Message Date
Luigi Ballabio
62741dd03e Typemap for size_t applied to std::size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Logan Johnson
b5b115f451 Correct macro name in Lib/ruby/std_pair.i; was "specialize_std_map_on_both",
should be "specialize_std_pair_on_both".


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-28 14:20:24 +00:00
Luigi Ballabio
dcb94e7d4a std::pair added (but not very much tested)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-10 12:42:42 +00:00
Logan Johnson
0081cb26ef *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 23:36:13 +00:00
Logan Johnson
8ee20885b1 Modified how the SWIG_DIRECTOR_EXCEPTION class (and its subclasses) are
implemented for the Ruby module. Now the SWIG_DIRECTOR_EXCEPTION object
stores a reference to the Ruby exception instance.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:54:53 +00:00
Logan Johnson
97f74f2b48 Fixed array typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 22:13:52 +00:00
Logan Johnson
1e59adf5c7 Added include of <assert.h> for Ruby's director.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 19:35:15 +00:00
William S Fulton
a951a86659 Removed varin typemaps for SWIGTYPE[] (dimensionless arrays).
These were useless as they just produced a setter that gave a runtime error.
Exposes some missing varin SWIGTYPE[ANY] typemaps - they show up in the test-suite.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:59:10 +00:00
Luigi Ballabio
7764b8227a Added correct (I hope) typechecking for native scripting objects
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-22 13:01:44 +00:00
Logan Johnson
3fd12995c7 A little more work on the Ruby support for C++ polymorphism. Exception
handling almost works...


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 16:08:16 +00:00
Logan Johnson
a00aa780ce Add inv and outv Ruby typemaps for std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-26 00:00:19 +00:00
Logan Johnson
542091e929 Made a change to the type-checking code in SWIG_ConvertPtr() for the Ruby
module, so that the new multiple-inheritance support code will work.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:00:46 +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
b718237c82 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 23:49:17 +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
a31ec93aa7 Comment out Ruby code for "fail" tag.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 16:52:37 +00:00
Logan Johnson
4292b470bb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 21:34:14 +00:00
Luigi Ballabio
03658fcb4c std::map ready for prime time (hopefully)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 15:38:02 +00:00
William S Fulton
7904892b45 long long typemap rewrite for compilers that don't understand long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 22:41:28 +00:00
Logan Johnson
dc04d91bb5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 18:37:04 +00:00
Logan Johnson
5d17b6936c Added missing 'long long' and 'unsigned long long' typemaps for Ruby's
typemaps.i file.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 15:24:38 +00:00
William S Fulton
af3ec605e9 long long typemap mods for use with %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
Luigi Ballabio
9d50216d9c Support for std::map (thanks, Dave)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +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
William S Fulton
1538bc2831 SWIGTYPE & varin typemap fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 21:24:40 +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
Luigi Ballabio
7a8f71fa7c Allow objects to be modified during iteration (and minor method name change)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-29 13:05:45 +00:00
Luigi Ballabio
32e0a3d8e7 A global stl.i works just as well
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +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
Masaki Fukushima
1c0dde918c Added -feature to ruby/Makefile.swig template
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@1027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-02-25 16:07:49 +00:00
Masaki Fukushima
7353fc53a9 Check_Type() added to FILE* typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@1026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-02-25 11:22:42 +00:00
Masaki Fukushima
48bc25b91e Many bug fixes to Ruby module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 13:32:29 +00:00
Masaki Fukushima
4db681110d a few bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 17:11:15 +00:00
Dave Beazley
58ecd2560f Major fixes to pointer libraries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 19:25:15 +00:00
Dave Beazley
16ff68c288 Changed _swig_type_info to swig_type_info
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Masaki Fukushima
1fe2810618 '-toplevel' option obsoleted.
C++ comment removed and copyright notice added.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 14:28:57 +00:00
Masaki Fukushima
aa1f1ac3c2 Ruby module changed to use pointer object instead of mangled string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 15:43:59 +00:00
Masaki Fukushima
0cedebe44f (Ruby Support): Fix some type mangle problem in Ruby library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-22 10:52:19 +00:00
Thien-Thi Nguyen
618e0eff61 Add Ruby support contributed by Masaki Fukushima.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-05 18:58:49 +00:00