Skip to content

7. C API and Extensions

The Python C API, reference ownership rules, creating extension modules, defining new types, the buffer protocol, capsules, stable ABI, limited API, embedding Python, and cross-language calls.

ChapterTitle
61The Python C API
62Reference Ownership Rules
63Creating Extension Modules
64Defining New Types
65Buffer Protocol
66Capsules
67Stable ABI
68Limited API
69Embedding Python
70Calling Python From C
71Calling C From Python