Commit graph

5,873 commits

Author SHA1 Message Date
William S Fulton
0f96efd9ce ensure %apply with char*, unsigned char* and signed char* works
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 20:58:19 +00:00
William S Fulton
279914232c add some director tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 20:55:55 +00:00
Surendra Singhi
55290cfeb5 a struct/enum/union is replaced with :pointer only if
that slot is actually a pointer to that type.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 11:02:16 +00:00
Surendra Singhi
ded22097ab Removed -extern-all option which was not present, and fixed exporting of variable names.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 06:47:08 +00:00
William S Fulton
adf30f10a2 Fix possible redefinition of _CRT_SECURE_NO_DEPRECATE (for VC++)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-02 20:56:33 +00:00
William S Fulton
467a54487c add apply_strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-24 21:38:16 +00:00
William S Fulton
66beb8fe0d %apply tests for char*, unsigned char*, signed char*
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-24 21:37:25 +00:00
William S Fulton
069ec58ea5 Add in defines to optionally remove the C# exception and string helper support code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-21 23:53:06 +00:00
William S Fulton
6c2831ffe7 clean some files generated by visual studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-21 23:40:05 +00:00
Marcelo Matus
2296b42a7d fix seg fault with -noproxy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 22:16:43 +00:00
Surendra Singhi
fa33c26ac2 Thanks to Thomas Weidner.
- when feature export is set (export 'foo) is generated for every
symbol, i think should be external.
- when feature inline is set (declaim (inline foo)) is generated
before every function definition
- when feature intern_function is set #.(value-of-intern-function
"name" "nodeType" package) is emitted instead of the plain symbol. a
sample swig-lispify is provided.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 11:01:55 +00:00
Surendra Singhi
9af1e0981c Thanks to Thomas Weidner.
- when feature export is set (export 'foo) is generated for every
symbol, i think should be external.
- when feature inline is set (declaim (inline foo)) is generated
before every function definition
- when feature intern_function is set #.(value-of-intern-function
"name" "nodeType" package) is emitted instead of the plain symbol. a
sample swig-lispify is provided.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 10:43:22 +00:00
Marcelo Matus
82f7f3066a enum_plus.i is not needed anymore as a separated test, is in enums.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 08:54:12 +00:00
Marcelo Matus
7724263a9f fix error #1468674 enums + char
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 08:52:29 +00:00
Marcelo Matus
21b25d27be readd RxSpencer support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 08:50:29 +00:00
Surendra Singhi
fdaf7a06f6 Prefixed package name to cl symbols.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 07:54:07 +00:00
Surendra Singhi
6183f2fec4 Prefixed package name to cffi symbols.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 07:47:44 +00:00
Surendra Singhi
09d99d882b Added the option [no]swig-lisp which turns on/off generation
of code for helper lisp macro, functions, etc.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-13 18:07:28 +00:00
Surendra Singhi
cea8822129 Generates wrappers for all variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-13 11:57:06 +00:00
Marcelo Matus
adc9136582 comment fixes, from Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-12 19:34:01 +00:00
Marcelo Matus
d863124388 add missing SWIG_VERSION
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 02:04:27 +00:00
Marcelo Matus
ce9a38796e fix for 2.5, reported by Mike Romberg #1465867
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:45:31 +00:00
Marcelo Matus
b612f004ed better error message for overloading, as suggested by Tijs Michels, and doc fixes, provided by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:42:10 +00:00
Marcelo Matus
07022e74a8 fix docs, path provided by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:40:20 +00:00
Marcelo Matus
9aa5d0fd77 fix char* warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-10 21:03:13 +00:00
Marcelo Matus
a2f06a36d2 add lowercamelcase encoder, from Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-10 21:02:06 +00:00
Marcelo Matus
646b38ee97 fix macro issue reported by Vladimir Menshakov
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-10 19:00:44 +00:00
Marcelo Matus
bcbab83ae8 fix % predicate, as reported by Mikael Jansson
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-08 05:32:19 +00:00
Mikel Bancroft
1b1a48de7b 04/05/2006: mutandiz
[allegrocl]
	    Fix output typemap of char so it produces a character instead
	    of an integer. Also adds input/output typemaps for 'char *'.

	    add command-line argument -isolate to generate an interface
	    file that won't interfere with other SWIG generated files that
	    may be used in the same application.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-06 06:28:53 +00:00
John Lenz
ba15231ee4 Update Chicken configuration to not use chicken-config
which was removed in version 2.3
Other minor bug fixes to chicken


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9041 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-06 01:16:57 +00:00
Marcelo Matus
c0b01e9804 fix type for sizeof
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-28 07:49:03 +00:00
Marcelo Matus
c4c03726c1 fix for old VC 6.0 and linking issue reported by Roy Sutton
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 21:39:49 +00:00
Marcelo Matus
418b2d8ea3 use better names to avoid clashing with directors, as reported by Eric Blossom
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 21:20:46 +00:00
Marcelo Matus
264387f53e add back the newline at the end of the file since gcc complains too much
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 21:17:04 +00:00
Marcelo Matus
a86e4777ac fix overloading between unsigned long long and strings, as reported by Tim Lee.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 20:11:52 +00:00
Marcelo Matus
a62189b4e5 fix prototype warnings, as reported by Max Browsher
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-26 07:24:41 +00:00
Marcelo Matus
3d00467e39 fix prototype warnings, as reported by Max Browsher
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-26 07:09:22 +00:00
Marcelo Matus
6ccde68020 fix type cast
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-26 07:04:06 +00:00
Marcelo Matus
228cfe8435 fix include of files without last newline, as reported by Wes Hodges
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-22 08:15:46 +00:00
Marcelo Matus
bcb9b63089 more fixes for '%rename Class' + %copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 19:14:47 +00:00
Marcelo Matus
574ee1af25 more fixes for '%rename Class' + %copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 19:12:43 +00:00
Mikel Bancroft
f07ad7bea8 03/20/2006: mutandiz
[allegrocl]
	    update CHANGES.current for last commit.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 08:35:54 +00:00
Mikel Bancroft
c21f5177be 03/20/2005: mutandiz
[allegrocl]
	    More tweaks to INPUT/OUTPUT typemaps for bool.

	    Fix constantWrapper for char and string literals.

	    find-definition keybindings should work in ELI/SLIME.
	    Output (in-package <module-name>) to lisp wrapper
	    instead of (in-package #.*swig-module-name*).

	    slight rework of multiple return values.

	    doc updates.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 07:15:38 +00:00
William S Fulton
6dcc1afbc3 1.3.29 date change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 23:55:17 +00:00
William S Fulton
a404be5ea5 Fix swig --help -<lang> working differently to swig -help -<lang>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 22:05:28 +00:00
Marcelo Matus
49179614e4 extend comment for %nocopyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 10:49:38 +00:00
Marcelo Matus
2f58208898 fix for %copyctor + default_constructor.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 10:47:39 +00:00
Marcelo Matus
82ec7cd7e5 more fixes for %copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 10:39:01 +00:00
Marcelo Matus
faf33e0bd8 fix %rename + %copyctor issue reported by William
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 01:06:11 +00:00
Marcelo Matus
c9fa14d5db generate error when a proper overloaded function is not found, as suggested by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 00:24:39 +00:00