Navigation

  • index
  • modules |
  • next |
  • PyBindGen 0.17.0 documentation »
  • Welcome to PyBindGen’s documentation!

Welcome to PyBindGen’s documentation!¶

Contents:

  • PyBindGen Tutorial
    • What is PyBindGen ?
    • Supported Python versions
    • Work flows
    • A simple example
      • Code generation script
      • Building it using Python setup.py (distutils)
      • 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

Navigation

  • index
  • modules |
  • next |
  • PyBindGen 0.17.0 documentation »
  • Welcome to PyBindGen’s documentation!
© Copyright 2008-20014, Gustavo Carneiro. Created using Sphinx 7.4.7.