Navigation
index
modules
|
next
|
PyBindGen 0.15.0 documentation
»
Welcome to PyBindGen’s documentation!
¶
Contents:
PyBindGen Tutorial
What is PyBindGen ?
Work flows
A simple example
Code generation script
Building it (GCC instructions)
Building it (MSVC instructions)
Testing it
Wrapping types by value
Primitive types
Enum types
Compound types
C++ classes
C++ namespaces
Memory management for pointer types
Function returns pointer
Function takes pointer
A reference-counted object
A STL container
Advanced usage
Basic interface with error handling
Header file scanning with (py)gccxml
Header file scanning with (py)gccxml: python intermediate file
PyBindGen API Reference
Higher layers
module: generate Python modules and submodules
function: C/C++ function wrappers
enum: wrap enumrations
cppclass: wrap C++ classes or C structures
cppmethod: wrap class methods and constructors
cppattribute: wrap class/instance attributes
cppexception: translate C++ exceptions into Python
container: wrap STL containers
gccxmlparser: scan header files to extract API definitions
settings: pybindgen global settings
Lower layers
utils: internal utilities
typehandlers.base: abstract base classes for type handlers and wrapper generators
cppclass_typehandlers: type handlers for C++ classes (or C structures)
typehandlers.codesink: classes that receive generated source code
Indices and tables
¶
Index
Module Index
Search Page
Table Of Contents
Welcome to PyBindGen’s documentation!
Indices and tables
Next topic
PyBindGen Tutorial
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
modules
|
next
|
PyBindGen 0.15.0 documentation
»