summaryrefslogtreecommitdiffstats
path: root/Demo/embed/demo.c
Commit message (Collapse)AuthorAgeFilesLines
* Update to use more modern calling conventions; also avoid a magic numberFred Drake2001-11-171-3/+2
| | | | | in the function table. Add a docstring for the function as well, since examples should show good form.
* Fix weird typo caused by ANSIfication (nobody bothered to test itGuido van Rossum2001-01-101-1/+1
| | | | since! :-( ).
* Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters2000-07-221-8/+5
| | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
* Call Py_SetProgramName() instead of redefining getprogramname(),Guido van Rossum1999-03-091-11/+3
| | | | reflecting changes in the runtime around 1.5 or earlier.
* Just for fun, add a static module, "xyzzy" -- show that calling itsGuido van Rossum1997-12-251-0/+30
| | | | initxyzzy() works.
* adapted to new naming; clarify comments somewhatGuido van Rossum1995-03-281-7/+8
|
* initial checkinGuido van Rossum1994-10-081-0/+46