luz.paz
6f69830321
follow-up typos
2018-05-17 10:26:00 -04:00
Gonzalo Garramuno
d3945a4d40
Improved autodoc documentation for standard ruby methods
...
and for STL containers, using %feature instead of
hard-coding the stuff in ruby.cxx.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 20:37:21 +00:00
Gonzalo Garramuno
293750eaea
Moved the GC_VALUE class over to rubystdcommon
...
so that it will only get added when STL is used.
Documented swig_assert interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-01 01:21:26 +00:00
Gonzalo Garramuno
6999e71c07
Several fixes to GC_VALUE, and map containers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-30 18:33:27 +00:00
Olly Betts
97e9837d46
Fix a typo.
...
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:56:46 +00:00
Marcelo Matus
0f7b502a3b
fix -external-runtime and warning arounds in subversion
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Charlie Savage
b5d900d9b9
Changed rename rules to include functions and change Enums to only capitalize the first letter.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 04:54:48 +00:00
Marcelo Matus
526be12c1e
change the %rename predicates to use the prefix %$ and avoid clashings with other rename directives
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 23:27:11 +00:00
Charlie Savage
96c9b489b4
Updated renaming rules.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 10:46:08 +00:00
Marcelo Matus
e777cae676
add at least %not support for rename predicates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 19:34:43 +00:00
Marcelo Matus
a91cb0755a
add rename for member variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 19:19:22 +00:00
Marcelo Matus
676bb93334
add more predicates for rename
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:21:26 +00:00
Marcelo Matus
32ec869558
long rule to match exactly const static variable with a value in the declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 17:44:40 +00:00
Charlie Savage
1a4a4ed2f3
Changed rename check for constants to use %hasconsttype
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:49:54 +00:00
Marcelo Matus
507a8184cc
use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
Charlie Savage
b07505cc7b
Fixed up checking for constants.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 01:49:29 +00:00
Charlie Savage
282a18a62a
Use new camelcase,undercase,lowercase aliases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:56:29 +00:00
Charlie Savage
f4d48d7bfc
Moved constant renames from the c++ code to ruby.swg to reuse the new %rename functionality.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:51:49 +00:00
Charlie Savage
00f241311b
Added %rename to change function and method names from CamelCase to lower_case_with_underscores.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:35:46 +00:00
Marcelo Matus
4b38b9da56
add space for rename rules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:10:54 +00:00
Marcelo Matus
e7eeff806a
eliminate compilation warnings, add docs, and centralize the access to the unified typemap library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:31:15 +00:00
Marcelo Matus
2811e2a09a
include the user's fragment file in the same place
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:58:19 +00:00
Marcelo Matus
ba3efb0917
finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +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
88fcc55de1
Support for object tracking. Includes new reference to "rubytracking.swg" and defines a new feature called "trackobjects"
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:01:57 +00:00
John Lenz
c3338b1a16
- Improve the runtime type sytesm
...
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
811c159e38
allow to include the swig runtime code into external user libraries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:37:33 +00:00
John Lenz
75e462baa8
Removed ability to share type information by C linking
...
All type sharing happens through a global variable in the target language.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
John Lenz
6ed2f7e90e
New way of sharing type information between modules for chicken, mzscheme,
...
ruby, tcl, and perl.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
Lyle Johnson
db3148bad0
Break the standard Ruby typemaps out into a number of smaller files
...
which are included by ruby.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:28:07 +00:00
Lyle Johnson
3fcd788313
Corrected some of the "throws" typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 01:07:05 +00:00
Lyle Johnson
1feef7530b
Minor fix for the cpp_enum.i test case, which was broken.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 00:38:52 +00:00
Lyle Johnson
bcfce506d1
Added a varin typemap for char[] (Ruby). Fixes broken test case
...
arrays_global.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-14 17:33:18 +00:00
Marcelo Matus
7b8f415319
- Uniform the definition of the keyword warnings through
...
the supported languages.
- Added keyword list for most of the languages that didn't
have one.
- "All keywords" warning support, through the -DSWIG_ALLKW
option.
Read the Changes.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 02:23:52 +00:00
Matthias Köppe
de27e32afb
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 13:48:17 +00:00
William S Fulton
d4a9ac02c8
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
__get_self()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:21:51 +00:00
William S Fulton
9da574aae9
__DIRECTOR__ renamed Swig::Director
...
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
7ee01311b2
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
a7933a75b0
First round of director mods
...
- Removed asserts
- The unused __DIRECTOR__ base class default constructor removed. I've used the conventional approach of having no default constructor rather than a private one (declaring it private doesn't serve any useful purpose when this constructor is not wanted).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:11:38 +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
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
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
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
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
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
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