Mikel Bancroft
79df852156
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/SWIG@9026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 07:15:38 +00:00
William S Fulton
33d2e15423
fix const wstring& typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 15:34:27 +00:00
Mikel Bancroft
d1b3949aba
03/17/2005: mutandiz
...
[allegrocl]
mangle names of constants generated via constantWrapper.
When using OUTPUT typemaps and the function has a non-void
return value, it should be first in the values-list, followed
by the OUTPUT mapped values.
Fix bug with boolean parameters, which needed to be
passed in as int values, rather than T or NIL.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-18 01:18:36 +00:00
Mikel Bancroft
a82b71b328
03/15/2006: mutandiz
...
[allegrocl]
Generate wrappers for constants when in C++ or -cwrap mode.
Make -cwrap the default, since it is most correct. Users
can use the -nocwrap option to avoid the creation of a .cxx
file when interfacing to C code.
When in -nocwrap mode, improve the handling of converting
infix literals to prefix notation for lisp. This is very
basic and not likely to be improved upon since this only
applies to the -nocwrap case. Literals we can't figure out
will result in a warning and be included in the generated
code.
validIdentifier now more closely approximates what may be
a legal common lisp symbol.
Fix typemap error in allegrocl.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 18:11:25 +00:00
Marcelo Matus
735ac78241
fix mispelled prepend, reported by Jeremy McCormick
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 01:44:26 +00:00
Mikel Bancroft
6fc01f1cb7
03/12/2006: mutandiz
...
[allegrocl]
Add INPUT/OUTPUT typemaps for bool.
Generate c++ style wrappers for struct/unions when
-cwrap option specified.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-12 20:38:57 +00:00
Matthias Köppe
904e1311d3
Remove %include to non-existent file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-11 01:09:39 +00:00
William S Fulton
bdd7a81053
minor code consistent style changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-11 00:06:45 +00:00
William S Fulton
d4236464e6
Bug 1446319 - variable of same name emitted more than once when more than wstring parameter in director methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 21:47:58 +00:00
Matthias Köppe
52a57d8838
Fix unterminated line
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-09 08:37:12 +00:00
Luigi Ballabio
a02fee0e9e
Support for Ruby 1.6
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-09 08:34:09 +00:00
William S Fulton
797317163a
cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 22:02:54 +00:00
Marcelo Matus
3c8bb6dba8
add note for namespace issues
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 09:15:31 +00:00
William S Fulton
8a31552220
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:45:17 +00:00
William S Fulton
58185dd2bd
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:37:34 +00:00
William S Fulton
c74b246a95
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:35:17 +00:00
William S Fulton
aabbc69818
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:21:51 +00:00
William S Fulton
49be05f4fd
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:14:10 +00:00
Mikel Bancroft
cce4f05784
3/6/2006: mutandiz
...
[allegrocl]
add Lib/allegrocl/inout_typemaps.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 18:47:07 +00:00
Marcelo Matus
23eb236bab
fix _swig_repr, as reported by Robin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 18:36:28 +00:00
Marcelo Matus
7a5c6d8e90
fix SWIG_Python_TypeQuery for C/Ansi, ie, the old variable declared after code issue
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 05:59:54 +00:00
Marcelo Matus
be61559569
fix SWIG_Python_SetSwigThis reported by Robin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 04:07:43 +00:00
Marcelo Matus
36c067836e
add -fastquery and fix SWIG_Python_GetSwigThis, avoid to call GetAttr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:43:16 +00:00
Marcelo Matus
9e952010b9
add -fastinit option after issue reported by Robin Dunn
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 11:06:51 +00:00
William S Fulton
25aff229ab
Remove void * cast which was suppressing gcc's strict aliasing warning display. Note g++ 4.0 still does not display the warning even though with -O2 the resulting code fails due to aliasing optimisations.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:44:34 +00:00
William S Fulton
974f2c00bd
remove unused method warning with gcc -Wall
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:41:12 +00:00
William S Fulton
fb644e707e
remove unused warnings with gcc -Wall
...
Add sanity check back in checking that the pending exception count is zero per thread
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:39:54 +00:00
William S Fulton
a5c816aa71
Remove DllExport - it is a leftover from the C# module and was removed a while ago and should not be used.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:37:23 +00:00
Marcelo Matus
dd1e7cd0b4
fix builtin names warnings, so they ony apply to functions, as reported by James Bigler and the 'max' name issue
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 05:16:16 +00:00
Matthias Köppe
6cbd9a9b3c
[Guile -scm] Add typemaps for "long long"; whether the generated code
...
compiles, however, depends on the version and configuration of Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 04:00:31 +00:00
William S Fulton
214a1839ee
Add inner exception support with ideas from Tamas Szekeres
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:18:45 +00:00
William S Fulton
ee27412e6e
Fix DllExport - it is a leftover from the C# module and should not be used.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:14:39 +00:00
William S Fulton
c8152a2016
Php5 exception support from Ollie Betts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:11:16 +00:00
Marcelo Matus
660dcb58a5
add std::vector<T*> specialization to fix #1386582
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 17:58:47 +00:00
Marcelo Matus
77473c4ba2
apply patches for std::string/std::vector provided by Anthony Heading
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 15:17:45 +00:00
Marcelo Matus
357d0650ed
add SWIG_TYPECHECK_SWIGOBJECT to resolve simple overload functions as Graph(int i)/Graph(PyObject* p)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 23:30:37 +00:00
Marcelo Matus
c2485c17a0
reduce polution of macro comments by using one line macros
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 23:27:03 +00:00
Marcelo Matus
4ed49d7f2c
the visibility attribute also works with gcc3.4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 08:08:51 +00:00
Marcelo Matus
ea220fbfd7
add support for the GCC visibility attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:40:56 +00:00
Marcelo Matus
cea40215bb
add visibility attribute for GCC, now you can compile using -fvisibility=hidden
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:14:57 +00:00
Marcelo Matus
41dc3740f9
better using SWIGEXPORT for DllExport
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 06:14:23 +00:00
Marcelo Matus
52cadebd40
add the DllExport label for backward compatibility
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 18:59:41 +00:00
Marcelo Matus
d40ff25e3f
fix wrong %include reported by Jab Rehders
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 18:41:32 +00:00
Luigi Ballabio
87061c3272
Fixed misspelled special variable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 10:08:15 +00:00
Mikel Bancroft
4aabff8208
02/27/2006: mutandiz
...
[allegrocl]
Add support for INPUT, OUTPUT, and INOUT typemaps.
For OUTPUT variables, the lisp wrapper returns multiple
values.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 21:45:07 +00:00
Marcelo Matus
c3bb0f609c
fix std_map such that is not necessary to use %template() std::pair<xx,yy> everytime
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 16:28:38 +00:00
Marcelo Matus
4c8421164f
add missing typecheck typemap for argc,argv
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 03:00:26 +00:00
Marcelo Matus
12ac239576
add argc,argv typemap for ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 02:59:09 +00:00
Marcelo Matus
9bcf5507df
update iterator typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-25 09:23:49 +00:00
Marcelo Matus
6e67122508
update iterator typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-25 09:22:42 +00:00