Commit graph

1,021 commits

Author SHA1 Message Date
Marcelo Matus
c55ad2d3b3 add inttypes.i wchar.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 08:37:08 +00:00
Marcelo Matus
49f8cc726d add __WORDSIZE test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 07:10:06 +00:00
Marcelo Matus
c938c47442 add limits.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 07:02:18 +00:00
Marcelo Matus
08b8c10784 move arch. code to separated file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 07:00:24 +00:00
Marcelo Matus
735e37b04a add extra checking code for different archand docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 06:54:05 +00:00
Marcelo Matus
d102d9239d add more std::exception typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:54:26 +00:00
Marcelo Matus
cf77325c3c fix li_std_except.i test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:45:41 +00:00
Kevin Ruland
ba954bf280 Fixed initial creation of array in t_output_helper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 15:29:30 +00:00
Marcelo Matus
5b03530f25 can't use as_voidptrptr with fcnptrs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:31:34 +00:00
Marcelo Matus
3229976e3b safer and cleaner as_voidptr/as_voidptrptr macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:31:05 +00:00
Marcelo Matus
8698232998 cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:59:13 +00:00
Marcelo Matus
48596c6f13 fix warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:35:41 +00:00
Marcelo Matus
fe06408c3d add missing 'const'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:30:45 +00:00
William S Fulton
e013e7ff5a Use the system angle brackets for %include
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:28:20 +00:00
William S Fulton
3734f71ede Extra constructor to handle enum items initialised by another enum item
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 08:35:36 +00:00
Marcelo Matus
726de6fc52 last performance improvements, and typemaps fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 09:20:24 +00:00
Marcelo Matus
0e34b75e44 more speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:46 +00:00
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