Dave Beazley
df5e523581
Changed code-generation for constants to use a table instead of repeated function
...
calls in the initialization function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 17:20:57 +00:00
Dave Beazley
089464e9c0
Added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 17:18:04 +00:00
Dave Beazley
0a52977f06
Modified to use new pointer type-checker.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:27:23 +00:00
Dave Beazley
a3e279d7d4
Minor fixes to type handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:26:38 +00:00
Dave Beazley
f76cedd349
Added error handling flag to ConvertPtr function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:25:55 +00:00
Dave Beazley
d9486735a0
Make the use of CObjects a conditional compilation flag.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 04:22:52 +00:00
Dave Beazley
c7a8003514
Fixed so that setting an attribute to a NULL object has no effect.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-03 18:01:51 +00:00
Dave Beazley
3b43574d14
Fixed so that setting an index to a NULL object has no effect.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-03 18:01:31 +00:00
Dave Beazley
c2dc64db51
More improvements to type-checking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 23:37:02 +00:00
Dave Beazley
04ea7149f6
Work on Tcl global variable support.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 23:36:49 +00:00
Dustin Mitchell
b8ac1341a8
Bitten by order of operations! The ? operator has weird precedence
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 18:55:57 +00:00
Dave Beazley
fd5c04f291
Added rule about ternary operators.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 17:00:49 +00:00
Dave Beazley
6ef6a5d377
Fixed slight bug with type-checker in Python module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 16:43:13 +00:00
Dave Beazley
4216fb8a40
Commented out broken code with ? operations.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 16:39:16 +00:00
Dave Beazley
3473852cab
Performance enhancements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 07:03:21 +00:00
Dave Beazley
c4605481f3
Performance enhancements to Python module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 07:02:42 +00:00
Dave Beazley
34f87ab1af
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 07:02:28 +00:00
Dave Beazley
b68ed79569
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:54:02 +00:00
Dave Beazley
c08bb6dc99
Minor changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:36:31 +00:00
Dave Beazley
6c4b1d157d
Upgrade of runtime functions to support new pointer type checking scheme.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:35:41 +00:00
Dave Beazley
c067b820f9
Oops. Reverted operation of the preprocessor back to normal SWIG1.1 behavior.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:30:08 +00:00
Dave Beazley
82ba21bacb
Upgraded to use new pointer type-checking scheme.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:28:54 +00:00
Dave Beazley
3b3e6fdb20
Fixed problem with preprocessor directives embedded inside an %inline directive.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:26:52 +00:00
Dave Beazley
6d85611b64
Adjusted the version number to 1.3a1.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 03:42:33 +00:00
Dustin Mitchell
3ecf5737f4
Finished the type interface (type.c)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 00:22:44 +00:00
Dave Beazley
936f046d5b
Back to simple makefiles (at least for now)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 22:24:39 +00:00
Dave Beazley
70d076b41c
Oops
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 17:44:06 +00:00
Loic Dachary
8a34196fc6
Conditionaly compile experimental code with --enable-experiment
...
configure flag.
Fix .cvsignore to ignore configrue & yacc generated files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-30 15:39:55 +00:00
Dave Beazley
a382dff616
Added no-dependencies to AUTOMAKE_OPTIONS.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 16:04:23 +00:00
Dave Beazley
79559adb94
Added no-dependencies option to AUTOMAKE_OPTIONS.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 16:03:57 +00:00
Dave Beazley
c85c99425c
Cleaned up the makefiles, fixed a few build problems, removed YACC-generated files from the repository
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 14:44:27 +00:00
Loic Dachary
a8a25ef4ee
Old Makefile.in saved in Makefile.in.python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 01:09:17 +00:00
Loic Dachary
d0ab9150f3
1/28/00 : loic
...
Apply automake everywhere
Keep configure scripts so that people are not *forced* to autoconf
Keep sources generated by yacc so that compilation without yacc
is possible.
Source/LParse/cscanner.c: change lyacc.h into parser.h to please
default yacc generation rules.
Use AC_CONFIG_SUBDIRS in configure.in instead of hand made script.
Update all relevant .cvsignore to include .deps
Fixed missing ; line 136 Source/Swig/swig.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 01:06:10 +00:00
Dustin Mitchell
ec029ebe70
Types are implemented fully, but the interface is only constructors and the 'str' function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 23:30:08 +00:00
Dave Beazley
8feaecce87
Restored the DOH load method because it is a reserved interface to implement object serialization in the future.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 18:00:59 +00:00
Dave Beazley
c972409c85
Added @LIBS@ to the LIBS field. This is necessary to pick up the
...
right libraries for the experimental build on Solaris and a few
other machines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 17:27:21 +00:00
Dave Beazley
c6ed0c0e32
Modified the 'experiment' rule to create an executable called 'swig'.
...
(Yes, I want it this way).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 17:23:32 +00:00
Dave Beazley
64739860c3
Fixed weird code generation problem with enum types defined inside
...
of class definitions. Reported by Kevin Jacobs (1/25/00).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 16:59:11 +00:00
Dustin Mitchell
2f8d8b22d5
Skeleton of the new types system is in place and compiles
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 07:21:38 +00:00
Dustin Mitchell
89a2de4614
.cvsignore update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 02:02:24 +00:00
Dustin Mitchell
5a5b502eb9
Beginnings of an implementation of a type object
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-27 23:47:40 +00:00
Dustin Mitchell
38dbbc4ed4
Removed 'Load' from all of the objects, as it was not being used.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-27 22:07:22 +00:00
Dustin Mitchell
4bc1883f46
Not sure what 'signature' is .. it's gone now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-27 01:25:26 +00:00
Dustin Mitchell
553a6dc4ae
Added a typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:31:15 +00:00
Dustin Mitchell
ba6fc06027
Slight improvements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:26:53 +00:00
Dustin Mitchell
85eb09b231
Even more progress on the DOH Python type
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:20:28 +00:00
Dustin Mitchell
c50de290c9
Cosmetic
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 23:37:48 +00:00
Dustin Mitchell
6579b9ee31
A few last-minute changes to the previous commit :)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 22:49:47 +00:00
Dustin Mitchell
d2c40e1b17
Big changes. The makefiles now recurse correctly, and targets (e.g.
...
experiment, swim, swig, pymod, etc.) are passed along to sub-makes
correctly. Also, a mechanism has been devised to avoid the use of *.o
in the toplevel Makefile, as it was linking files which were not intended
for use in the final executable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 22:43:13 +00:00
Dustin Mitchell
f0d2cf2a9e
Configure should ONLY be done at the top level now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 21:31:26 +00:00