cpython/Tools/modulator
Jeremy Hylton 938ace69a0 staticforward bites the dust.
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure.  Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers.  (In
fact, we expect that the compilers are all fixed eight years later.)

I'm leaving staticforward and statichere defined in object.h as
static.  This is only for backwards compatibility with C extensions
that might still use it.

XXX I haven't updated the documentation.
2002-07-17 16:30:39 +00:00
..
Templates staticforward bites the dust. 2002-07-17 16:30:39 +00:00
EXAMPLE.py Made the example slightly more complete 1995-05-16 13:43:09 +00:00
genmodule.py tabnanny stuff 1998-04-10 19:15:27 +00:00
modulator.py Patches by Jens B. Jorgensen with small mods by me: 2001-12-27 23:35:43 +00:00
README Clarify how EXAMPLE.py is to be used ("python EXAMPLE.py", not 1999-02-16 17:19:39 +00:00
ScrolledListbox.py checkin of Jack's original version 1995-03-02 14:05:29 +00:00
Tkextra.py tabnanny stuff 1998-04-10 19:15:27 +00:00
varsubst.py Patches by Jens B. Jorgensen with small mods by me: 2001-12-27 23:35:43 +00:00

This is release 1.2 of modulator, a generator of boilerplate code for
modules to be written in C.

Difference between 1.2 and 1.1: __doc__ templates are now generated
(thanks to Jim Fulton).

Difference between 1.1 and 1.0: the templates now use "new-style"
naming conventions. Many thanks to Chak Tan <tan@ee.rochester.edu> for
supplying them.

Usage when you have tk is *really* simple: start modulator, fill out
the forms specifying all the objects and methods, tell modulator
whether objects should also be accessible as sequences, etc and press
'generate code'. It will write a complete skeleton module for you.

Usage when you don't have tk is slightly more difficult. Look at
EXAMPLE.py for some details (to run, use "python EXAMPLE.py").  Don't
bother with EXAMPLE.py if you have Tkinter!!!

Oh yeah: you'll probably want to change Templates/copyright, or all
your code ends up as being copyrighted to CWI:-)

Let me know what you think,
				Jack Jansen, jack@cwi.nl