Marcelo Matus
da1f4a04eb
adding stdint.i, the ISO C99 int types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:27:24 +00:00
William S Fulton
5ddd911531
More types added eg UINT8, WORD, BYTE etc.
...
Add support for __declspec Microsoft extension, eg __declspec(dllimport).
Also other Windows calling conventions such as __stdcall.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-14 22:33:50 +00:00
William S Fulton
1986fcd8e0
Fix so that all the const primitive reference types can be applied to other types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:26:40 +00:00
William S Fulton
239e58e462
Fix for including Windows.h with Perl.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:25:16 +00:00
William S Fulton
e08809c248
New library file for types in Windows.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:24:07 +00:00
William S Fulton
85edd7cab8
Add code back in that has recently gone missing, needed for windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:19:05 +00:00
William S Fulton
2500fe2a53
comment added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:27:32 +00:00
Ahmon Dancy
4098a01b68
Huge update to the Allegrocl module. Better C support. C++ support
...
added. Documentation! Makes use of typemaps for better interface
tuning. Improved type support. Wrapping of foreign pointers in
CLOS objects; hopefully a step toward being able to extend C++
classes from Lisp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 20:44:22 +00:00
Marcelo Matus
11b237dddd
put the swig::PyObject_var and swig::PyObject_ptr in the pyclass.swg file, to use them in more places
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:58:08 +00:00
Marcelo Matus
73a821d0b6
add code to properly 'unload' the module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:57:39 +00:00
Marcelo Matus
f2d1e94900
add owndata field to swig_type_info, so clientdata can be properly delete if needed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:53:30 +00:00
Marcelo Matus
53aca58eb3
add calloc
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 13:10:17 +00:00
Marcelo Matus
3c4fbce9de
add support for multi-inheritance at the python side and performance tunings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 12:40:16 +00:00
Marcelo Matus
d6f0a99b3e
fix bool AsVal
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 11:13:16 +00:00
William S Fulton
9e66ad828d
fix typo for php4kw.swg file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 23:10:05 +00:00
Marcelo Matus
18736f2cba
add missing INCREF
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 15:45:57 +00:00
Marcelo Matus
02b14340c0
avoid to write the pointer on failure
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 15:45:28 +00:00
John Lenz
f83457423d
Make chicken module correctly calculate the get/set functions by using Swig_name_get
...
Fix a few compiler warnings in chickenrun.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 19:23:19 +00:00
Marcelo Matus
0bcdda061b
add initial traits
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:58:28 +00:00
Marcelo Matus
23c9555292
simplify the ASPTR_ARGS and ASVAL_ARGS macros to one AS_ARG
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:57:16 +00:00
Marcelo Matus
ccf9e8d3b5
fix size_t and ptrdiff_t for gcc4.0
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 08:54:34 +00:00
Marcelo Matus
5671dc8ab6
use new checkcodes,which should take precedence over plain C strings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:50:44 +00:00
Marcelo Matus
9db98e0459
add ptrdiff_t and size_t properly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:50:01 +00:00
Marcelo Matus
1f71060e66
add codes for size_t, ptrdiff_t, std::string and std::wstring
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:49:24 +00:00
Marcelo Matus
3baa03e1b1
add missing check and sort the code around
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:11:17 +00:00
Marcelo Matus
ca60dcebc6
clean PyItem and use it in OutputIterator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:00:38 +00:00
Marcelo Matus
45439174b4
remove unused label
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:59:56 +00:00
Marcelo Matus
40a65ea681
add swig::PyItem and all the helper code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:24:36 +00:00
Marcelo Matus
07ff83fdc3
fix SWIG_Object const & typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:23:18 +00:00
Marcelo Matus
ea0c2ca342
adding more missing typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 11:11:21 +00:00
Marcelo Matus
85db6ee607
more docs for fragments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:25:58 +00:00
Marcelo Matus
5ab4595d76
add fast get/set for the this attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:02:34 +00:00
Marcelo Matus
c529327196
add missing typecheck typemap for function ptrs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:00:51 +00:00
Marcelo Matus
a3424e36e1
add 'iterator'(sequences) and 'key_iterator'(maps). The first returns allways the C++ iterator. In sequences __iter__ returns 'iterator()', in maps, __iter__ returns 'key_iterator()'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:58:58 +00:00
Marcelo Matus
9b9aee8eca
add the PyObject **PYTHON_SELF typemap(in)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:55:17 +00:00
Marcelo Matus
c28010f762
safer direct creation of a new instance avoiding the __init__ method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:52:01 +00:00
Marcelo Matus
b59c0b0da2
add SWIG_STATIC_POINTER helper
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:50:52 +00:00
Marcelo Matus
985adc13fb
remove 'thisown' and ClassPtr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:58:24 +00:00
Marcelo Matus
cda225ea32
add iterator support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:56:13 +00:00
Marcelo Matus
f1c9638b6a
add missing iterator decls
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:55:33 +00:00
Marcelo Matus
22a35668b0
add missing SWIG_fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:51:11 +00:00
Marcelo Matus
f88acef831
include the language specific codes first since they can contain typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:47:41 +00:00
Marcelo Matus
564be509ea
docs and cosmetic fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:46:18 +00:00
Marcelo Matus
9c5b888299
add missing directors typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:51 +00:00
Marcelo Matus
68c269bdcd
use shorter SWIG_exception for errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:21 +00:00
Marcelo Matus
fc78c9460e
add iterator category
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:42 +00:00
Marcelo Matus
71df9fc8b6
add std_except typemaps to the unified typemap library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:02 +00:00
Marcelo Matus
536621e82b
prevents ConvertPtr to modified the result when fails
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:41:43 +00:00
Marcelo Matus
f8c9bee335
add missing SWIG_fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:40:51 +00:00
Marcelo Matus
307f0104c6
recognize the and/not/or keywords and operator names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 15:02:56 +00:00