Commit graph

4,820 commits

Author SHA1 Message Date
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
f666c7e749 adding more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 16:03:54 +00:00
Marcelo Matus
3517fd7dea Use swig::PyObject_ptr name instead of swig::PyItem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 16:01:15 +00:00
Marcelo Matus
863964e617 Use swig::PyObject_var for directors, to resolve memory leaks, plus use the faster CallFunctionObjArgs when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 16:00:31 +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
922969907b use preinst-swig in all the examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:48:51 +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
253d0dd65a add support for multi-inheritance at the python side, and use PyArgs_UnpackTuple instead of PyArgs_ParseTuple when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 12:38:14 +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
08ac5fd5b0 better equivalent test, doesn't use range
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 16:07:39 +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
Marcelo Matus
38d55d3ab0 fixes for chicken and the STL/STD cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:54:48 +00:00
Marcelo Matus
b69bf15f06 fixes for chicken and the STL/STD cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:43:56 +00:00
Marcelo Matus
f159d6e43f fix name_set extra mangling that confuses chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:43:30 +00:00
Marcelo Matus
4acd492797 fixes for chicken and the STL/STD cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:38:28 +00:00
Marcelo Matus
7a4bd86bf5 add namespace case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:36:38 +00:00
Marcelo Matus
525198bd66 add more support for operators + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:26:37 +00:00
Marcelo Matus
b2f38e08d9 make all the suffix/prefix operations aware of operators, as in 'Foo::operator ns2::Bar()', where the prefix is 'Foo'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:25:18 +00:00
Marcelo Matus
f4b6ffd561 fix extra mangling that confuses chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:22:42 +00:00
William S Fulton
5ee6f35263 bump version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 00:06:24 +00:00
William S Fulton
082bac4185 note that this is the cvs version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 00:02:32 +00:00
William S Fulton
3a2e5bb44e Document %rename syntax using quotes (for Bug #1252361)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 00:01:01 +00:00
William S Fulton
5b6983d2e1 Add typemap examples to handle memory management and early garbage collection
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 23:52:02 +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
ee2621bec8 fix bug #1347853 and better and/or/not operator management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 16:47:07 +00:00
Marcelo Matus
da9836402b fix problem with operator < + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 16:45:20 +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
36c2f9239e fix test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 16:20:10 +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
b20da5456b CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:26:14 +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
b630cd6340 full fn call
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:25:24 +00:00
Marcelo Matus
f2d86b687d add -nomodern option and makes -modern the default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:03:48 +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