Commit graph

879 commits

Author SHA1 Message Date
Dave Beazley
650baa6f2b Added LINKFORSHARED option to swig13 linking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-04 03:23:42 +00:00
Dave Beazley
69d1af33d8 Fixed %apply merging problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-03 20:42:23 +00:00
Dave Beazley
d4acefff51 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 13:15:47 +00:00
Dave Beazley
2f0b0af50b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:22:25 +00:00
Dave Beazley
8dd7cb2b19 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:06:11 +00:00
Dave Beazley
28127aa9be Substantial changes for new module system.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:04:25 +00:00
Dave Beazley
6456c13435 Fixed Python string handling bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:02:51 +00:00
Dave Beazley
df8f29fe1b Changes to preprocessor. More parsing improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 20:52:45 +00:00
Dave Beazley
6a27aecdce *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 20:52:02 +00:00
Dave Beazley
608282507e Preprocessor/parser improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 16:57:07 +00:00
Dave Beazley
bdde13e1e9 new file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:06:04 +00:00
Dave Beazley
741a306385 Added named file functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:05:32 +00:00
Dave Beazley
bcc6cbfb16 Added named file functions (more details later)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:05:11 +00:00
Dave Beazley
4f965d95f5 Changes to code insertion directives.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:04:22 +00:00
Masaki Fukushima
466fcbfcfd missing newline
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:52:21 +00:00
Masaki Fukushima
9aa55f5970 fixed destructor bug reported by Nobuyuki Horie
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:50:52 +00:00
Dave Beazley
eec8c8a0e0 SWIG1.3 directory added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 02:22:48 +00:00
Dave Beazley
ed8579d68f swig13 target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 02:22:23 +00:00
Dave Beazley
ee4856e064 Minor stuff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 21:34:11 +00:00
Dave Beazley
703a022d0a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 13:10:54 +00:00
Dave Beazley
0e709ada2e Minor changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 13:05:36 +00:00
Dave Beazley
a47011e3e4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:04:53 +00:00
Dave Beazley
ecd8d72ef5 Modified the preprocessor to allow identifiers to start with "%". This is highly experimental
(I may take it out), but I have this idea that you might be able to create new SWIG directives
as C preprocessor macros.

For example:

#define %check(type) %typemap(check) type

%check(int positive) {
   if ($source < 0) error("hey, what's with this?");
}

(In reality, I think that this feature may allow me to reduce the parser to a smaller
set of more primitive directives that will simplify some of the code maintenance).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:00:55 +00:00
Dave Beazley
8413325366 Fixed ambiguous else.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:26:07 +00:00
Dave Beazley
94651ffbd5 Oops. Fixed _SWIG_ConvertPtr name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:24:44 +00:00
Dave Beazley
e985c90b90 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-23 14:11:06 +00:00
Dave Beazley
952b7dfc0f Added contributed swig.spec file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 16:26:01 +00:00
Dave Beazley
5e5fc488dc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 16:15:21 +00:00
Dave Beazley
3d4fbf1614 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 15:54:40 +00:00
Masaki Fukushima
1df8221ca0 [Ruby] explicitly rescue NameError (for ruby-1.6)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 14:40:15 +00:00
Matthias Köppe
88cca110e3 Fixed typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 08:36:39 +00:00
Matthias Köppe
8ead02ee37 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:27:29 +00:00
Matthias Köppe
b7e95af2e8 (check-examples) Added Examples/guile/port.
(check-examples, check-gifplot-example, check-c++-examples) Use "&&"
instead of ";". If cd'ing into a directory failed (maybe due to
incomplete checkout), we would get infinite make recursion.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:26:02 +00:00
Matthias Köppe
b53f74cb5f [Guile] New typemaps for FILE *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:06:17 +00:00
Matthias Köppe
5f17119bd1 Fixed links and typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:05:05 +00:00
Matthias Köppe
c2f9a7cbeb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:04:17 +00:00
Matthias Köppe
6d4a3945dd [Guile] New example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:03:32 +00:00
Dave Beazley
4baedcf650 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 20:24:40 +00:00
Dave Beazley
ff2943a35d Fixed broken inheritance in shadow classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 20:20:18 +00:00
Masaki Fukushima
db4c6ff38e Ruby enum example added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 17:17:42 +00:00
Matthias Köppe
66b7d171d7 [Guile] Changed SCHEME_NAME to FUNC_NAME.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 14:00:56 +00:00
Dave Beazley
2b75eaeb09 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 04:32:21 +00:00
Dave Beazley
b35f368548 Incorporated return value optimization suggested by Jon Travis.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 04:29:29 +00:00
Dave Beazley
344c461ae6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 02:25:28 +00:00
Dave Beazley
71dad53e9f Modified -l option so that library files are included at the end again. The earlier
change broke a lot of existing code I wasn't anticipating.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 02:23:38 +00:00
Dave Beazley
4fd0a45a9b new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 22:28:15 +00:00
Dave Beazley
3d800bf53c New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 21:42:54 +00:00
Dave Beazley
9b3c9e12d2 Fixed infinite loop on enum.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 16:40:54 +00:00
Matthias Köppe
2963e7676c [Guile] New command-line option "-emit-setters".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 14:50:15 +00:00
Dave Beazley
8b3c2f1c0a Slight tweak to enum handling and typedefs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:44:03 +00:00