summaryrefslogtreecommitdiffstats
path: root/Doc/ext/run-func.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix SF # 626275, missing DECREF's in embedding exampleNeal Norwitz2002-12-171-3/+8
| | | | | | | Tested w/valgrind, all paths except the return on PyInt_AsLong() failure I think I got all of these right. Backport candidate.
* Remove unused variableNeal Norwitz2002-12-021-1/+1
|
* Do not #include <stdio.h> since Python.h already does that.Fred Drake2001-09-061-1/+0
|
* Lots of new text and example code on embedding Python in C, contributedFred Drake2001-08-041-0/+66
by Albert Hofkamp. Some editing has been done for style and markup consistency. This also supplies an example of importing modules and calling a function defined in the module, so this closes SF bug #440037 as well. (The long example code was moved to a separate file so that it would format properly.)