Commit graph

77 commits

Author SHA1 Message Date
Thien-Thi Nguyen
293e97b754 (DohGetInt, DohGetDouble): Cast args to atoi()' and atof()'
to `char *', respectively.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:00:51 +00:00
Thien-Thi Nguyen
003eda59a7 (find_key): First arg now has type `DOH *' to match callers.
Internally, this is immediately converted to `char *'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:59:31 +00:00
Thien-Thi Nguyen
cdb9a63614 (DohObjInfo): Rename struct member doh_reserved' to be doh_scope'
and make its signature match those in this slot in super.c and types.c.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:34:23 +00:00
Dave Beazley
021dc7913e Cleanup and memory reduction.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-16 02:50:54 +00:00
Dave Beazley
4e99f5be45 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 04:52:46 +00:00
Dave Beazley
e5b51a27b5 A few minor tweaks to file behavior. Strings should use a little less memory too.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:15:34 +00:00
Dave Beazley
24ea965c2e Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-10 15:24:43 +00:00
Dave Beazley
e247a550ca Removed scope stuff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:46:46 +00:00
Dave Beazley
54faa9e540 Minor changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:19:30 +00:00
Dave Beazley
b0789c3849 Added a few alternative names for DOH objects.
DOHString, DOHList, DOHHash, etc...


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:17:12 +00:00
Dave Beazley
a49f8fef5f Added purify patches reported by Ram Bhamidipaty
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-13 17:25:53 +00:00
Thien-Thi Nguyen
851763dfb2 (install): Look in `srcdir' for doh.h.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-03 23:11:19 +00:00
Dave Beazley
3ff9b8fac0 Added DohGetVoid() and DohSetVoid()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:19:46 +00:00
Dave Beazley
ed291c808f Fixed performance problem with setscope.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 15:56:01 +00:00
Dave Beazley
0abaadfa62 Fixed major performance problem with setscope.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 15:55:52 +00:00
Thien-Thi Nguyen
66b260c1ff {Changes to enable non-local build}
(srcdir, VPATH): New vars.  Use where appropriate.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 05:06:40 +00:00
Dave Beazley
9823bcf2a6 Constified a bunch of stuff.... it was bound to happen anyway.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 04:34:05 +00:00
Thien-Thi Nguyen
b0cc2a423f (NewString): Declare arg const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-25 00:04:55 +00:00
Dave Beazley
32c8fdf0c5 Fixed particularly sneaky bug in Hash_setattr() when an existing hash table item
is set to a new value (the old value was improperly deleted in certain cases).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-23 05:48:03 +00:00
Dave Beazley
5b3a1cc14d Minor improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-22 20:46:54 +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
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
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
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
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
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
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
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
8046a06297 Changed strings to recognized backslashified quotes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 22:37:34 +00:00
Dave Beazley
baa2138392 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 05:57:15 +00:00
Dave Beazley
d72c7beb9d Major cleanup of comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 05:45:58 +00:00
Dave Beazley
df7ba1da83 A bunch of cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-19 23:35:55 +00:00
Dave Beazley
bae3344f6c Some cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-19 21:01:30 +00:00
Dave Beazley
7b799030e3 Rearranged to hide methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-19 07:01:22 +00:00
Dave Beazley
71f8a29f49 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-19 06:54:53 +00:00
Dave Beazley
f3caa27a9d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-19 06:54:35 +00:00
Dave Beazley
059cd4513e Rearranged to allow static declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-19 06:53:48 +00:00
Dave Beazley
a60286213f Changed the name of Destroy to Delete
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@97 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-14 04:33:51 +00:00
Dave Beazley
35fad48faf *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@96 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-14 04:29:03 +00:00
Dave Beazley
877a2f09ae Some cleanup of the header file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@95 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-14 04:06:28 +00:00
Dave Beazley
fcbb0f7e38 Fixed file/line attributes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@94 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-14 03:48:02 +00:00
Dave Beazley
c82f8cac3a Added Chop method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@93 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 20:54:10 +00:00
Dave Beazley
c53e05e028 Added DohChop
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@92 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 20:53:38 +00:00
Dave Beazley
63b63d91d8 Removed String_replace method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@90 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 20:44:38 +00:00
Dustin Mitchell
9c38da024d Changed raw_insert to correctly update the file pointer (s->sp).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@88 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 20:42:35 +00:00
Loic Dachary
cb441954cf Added .cvsignore, Examples/.cvsignore, Source/DOH/Doh/.cvsignore
Source/SWIG1.1/main.cxx: Fixed -I handling bug


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@79 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 16:23:52 +00:00
Dave Beazley
c6bac250dd Added line/file methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@69 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 20:00:05 +00:00