Fred Drake | 6659c30 | 1998-03-03 22:02:19 +0000 | [diff] [blame] | 1 | \documentclass{manual} |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 2 | |
Guido van Rossum | 9faf4c5 | 1997-10-07 14:38:54 +0000 | [diff] [blame] | 3 | \title{Python/C API Reference Manual} |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 4 | |
| 5 | \input{boilerplate} |
| 6 | |
Marc-André Lemburg | a544ea2 | 2001-01-17 18:04:31 +0000 | [diff] [blame] | 7 | \makeindex % tell \index to actually write the .idx file |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 8 | |
| 9 | |
| 10 | \begin{document} |
| 11 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 12 | \maketitle |
| 13 | |
Fred Drake | 9f86b66 | 1998-07-28 21:55:19 +0000 | [diff] [blame] | 14 | \ifhtml |
| 15 | \chapter*{Front Matter\label{front}} |
| 16 | \fi |
| 17 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 18 | \input{copyright} |
| 19 | |
| 20 | \begin{abstract} |
| 21 | |
| 22 | \noindent |
Fred Drake | 659ebfa | 2000-04-03 15:42:13 +0000 | [diff] [blame] | 23 | This manual documents the API used by C and \Cpp{} programmers who |
Fred Drake | e058b4f | 1998-02-16 06:15:35 +0000 | [diff] [blame] | 24 | want to write extension modules or embed Python. It is a companion to |
Fred Drake | be48646 | 1999-11-09 17:03:03 +0000 | [diff] [blame] | 25 | \citetitle[../ext/ext.html]{Extending and Embedding the Python |
| 26 | Interpreter}, which describes the general principles of extension |
| 27 | writing but does not document the API functions in detail. |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 28 | |
Fred Drake | 3adf79e | 2001-10-12 19:01:43 +0000 | [diff] [blame] | 29 | \warning{The current version of this document is incomplete. I hope |
| 30 | that it is nevertheless useful. I will continue to work on it, and |
| 31 | release new versions from time to time, independent from Python source |
| 32 | code releases.} |
Guido van Rossum | 5b8a523 | 1997-12-30 04:38:44 +0000 | [diff] [blame] | 33 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 34 | \end{abstract} |
| 35 | |
Fred Drake | 4d4f9e7 | 1998-01-13 22:25:02 +0000 | [diff] [blame] | 36 | \tableofcontents |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 37 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 38 | |
Fred Drake | 3adf79e | 2001-10-12 19:01:43 +0000 | [diff] [blame] | 39 | \input{intro} |
| 40 | \input{veryhigh} |
| 41 | \input{refcounting} |
| 42 | \input{exceptions} |
| 43 | \input{utilities} |
| 44 | \input{abstract} |
| 45 | \input{concrete} |
| 46 | \input{init} |
| 47 | \input{memory} |
| 48 | \input{newtypes} |
Fred Drake | e28d8ae | 2001-03-22 16:30:17 +0000 | [diff] [blame] | 49 | |
| 50 | |
Fred Drake | 659ebfa | 2000-04-03 15:42:13 +0000 | [diff] [blame] | 51 | % \chapter{Debugging \label{debugging}} |
| 52 | % |
| 53 | % XXX Explain Py_DEBUG, Py_TRACE_REFS, Py_REF_DEBUG. |
Guido van Rossum | 5b8a523 | 1997-12-30 04:38:44 +0000 | [diff] [blame] | 54 | |
| 55 | |
Fred Drake | ed773ef | 2000-09-21 21:35:22 +0000 | [diff] [blame] | 56 | \appendix |
| 57 | \chapter{Reporting Bugs} |
| 58 | \input{reportingbugs} |
| 59 | |
Fred Drake | 490d34d | 2001-06-20 21:39:12 +0000 | [diff] [blame] | 60 | \chapter{History and License} |
| 61 | \input{license} |
| 62 | |
Marc-André Lemburg | a544ea2 | 2001-01-17 18:04:31 +0000 | [diff] [blame] | 63 | \input{api.ind} % Index -- must be last |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 64 | |
| 65 | \end{document} |