Marcelo Matus
4267a26ecd
fix for perl + multiple modules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:10 +00:00
Marcelo Matus
fbdc4d8e3c
fixes for directors + pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 21:01:35 +00:00
Marcelo Matus
842bf095b5
fix memory leaking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:58:31 +00:00
Marcelo Matus
4f9abb6527
adding stdint.i, the ISO C99 int types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:27:24 +00:00
William S Fulton
5a7ad48b02
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@7850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-14 22:33:50 +00:00
William S Fulton
9f76d1e6c4
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@7843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:26:40 +00:00
William S Fulton
e615dc1702
Fix for including Windows.h with Perl.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:25:16 +00:00
William S Fulton
9a5ab1b3d4
New library file for types in Windows.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:24:07 +00:00
William S Fulton
5c8f751e80
Add code back in that has recently gone missing, needed for windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:19:05 +00:00
William S Fulton
1708ccaf0b
comment added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:27:32 +00:00
Ahmon Dancy
f7ebb5809b
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@7828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 20:44:22 +00:00
Marcelo Matus
c34a4386e0
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@7824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:58:08 +00:00
Marcelo Matus
99bd599704
add code to properly 'unload' the module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:57:39 +00:00
Marcelo Matus
a7606e024c
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@7822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:53:30 +00:00
Marcelo Matus
e22c0e2df4
add calloc
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 13:10:17 +00:00
Marcelo Matus
42277fcfd7
add support for multi-inheritance at the python side and performance tunings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 12:40:16 +00:00
Marcelo Matus
723c997050
fix bool AsVal
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 11:13:16 +00:00
William S Fulton
0ab02e7479
fix typo for php4kw.swg file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 23:10:05 +00:00
Marcelo Matus
f79186adfd
add missing INCREF
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 15:45:57 +00:00
Marcelo Matus
88fd92b46d
avoid to write the pointer on failure
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 15:45:28 +00:00
John Lenz
07d79ce9b2
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@7800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 19:23:19 +00:00
Marcelo Matus
4395298001
add initial traits
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:58:28 +00:00
Marcelo Matus
9399418062
simplify the ASPTR_ARGS and ASVAL_ARGS macros to one AS_ARG
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:57:16 +00:00
Marcelo Matus
2d335436d6
fix size_t and ptrdiff_t for gcc4.0
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 08:54:34 +00:00
Marcelo Matus
65241338c8
use new checkcodes,which should take precedence over plain C strings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:50:44 +00:00
Marcelo Matus
8329412c5d
add ptrdiff_t and size_t properly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:50:01 +00:00
Marcelo Matus
bf087410b3
add codes for size_t, ptrdiff_t, std::string and std::wstring
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:49:24 +00:00
Marcelo Matus
5b7bc793cd
add missing check and sort the code around
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:11:17 +00:00
Marcelo Matus
143d7c1f53
clean PyItem and use it in OutputIterator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 15:00:38 +00:00
Marcelo Matus
d4af01f225
remove unused label
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:59:56 +00:00
Marcelo Matus
04113db0e7
add swig::PyItem and all the helper code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:24:36 +00:00
Marcelo Matus
c655b7d1be
fix SWIG_Object const & typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:23:18 +00:00
Marcelo Matus
b301617976
adding more missing typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 11:11:21 +00:00
Marcelo Matus
78ebd8e393
more docs for fragments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:25:58 +00:00
Marcelo Matus
d450751daf
add fast get/set for the this attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:02:34 +00:00
Marcelo Matus
b8449ebb72
add missing typecheck typemap for function ptrs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:00:51 +00:00
Marcelo Matus
51796ebcce
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@7775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:58:58 +00:00
Marcelo Matus
6508e06af8
add the PyObject **PYTHON_SELF typemap(in)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:55:17 +00:00
Marcelo Matus
cb8d5b6b38
safer direct creation of a new instance avoiding the __init__ method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:52:01 +00:00
Marcelo Matus
20bfe5fede
add SWIG_STATIC_POINTER helper
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:50:52 +00:00
Marcelo Matus
39f173c12a
remove 'thisown' and ClassPtr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:58:24 +00:00
Marcelo Matus
2de402b05a
add iterator support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:56:13 +00:00
Marcelo Matus
8bc8a0f621
add missing iterator decls
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:55:33 +00:00
Marcelo Matus
bb4946d2fe
add missing SWIG_fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:51:11 +00:00
Marcelo Matus
8f56375166
include the language specific codes first since they can contain typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:47:41 +00:00
Marcelo Matus
427e8a73c9
docs and cosmetic fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:46:18 +00:00
Marcelo Matus
b94ede0b8a
add missing directors typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:51 +00:00
Marcelo Matus
a8f7d6ba25
use shorter SWIG_exception for errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:21 +00:00
Marcelo Matus
64a35df9d6
add iterator category
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:42 +00:00
Marcelo Matus
9ff4da9d4a
add std_except typemaps to the unified typemap library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:02 +00:00