summaryrefslogtreecommitdiffstats
path: root/Demo/embed/demo.c
Commit message (Collapse)AuthorAgeFilesLines
* More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 ↵Georg Brandl2010-12-301-89/+0
| | | | demo to Tools, and remove all the other Demo content.
* #6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in ↵Georg Brandl2010-08-011-2/+2
| | | | Demo/embed code.
* Merged revisions 81881-81882 via svnmerge fromBenjamin Peterson2010-06-271-3/+12
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81881 | andrew.kuchling | 2010-06-10 19:16:08 -0500 (Thu, 10 Jun 2010) | 1 line #5753: update demo.c to use PySys_SetArgvEx(), and add a comment ........ r81882 | andrew.kuchling | 2010-06-10 19:23:01 -0500 (Thu, 10 Jun 2010) | 1 line #5753: Suggest PySys_SetArgvEx() instead of PySys_SetArgv() ........
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-43/+43
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* Issue #3717: Fix Demo/embed/demo.c.Martin v. Löwis2008-10-171-14/+29
| | | | Reviewed by Benjamin Peterson.
* Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases ↵Christian Heimes2007-12-021-1/+1
| | | | in intobject.h
* 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