μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | List of all members
embedded_module Struct Reference

Python 2.7/3.x compatible version of PyImport_AppendInittab and error checks. More...

#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/embed.h>

Public Types

using init_t = void(*)()
 
using init_t = PyObject *(*)()
 

Public Member Functions

 embedded_module (const char *name, init_t init)
 
 embedded_module (const char *name, init_t init)
 

Detailed Description

Python 2.7/3.x compatible version of PyImport_AppendInittab and error checks.

Definition at line 69 of file embed.h.

Member Typedef Documentation

◆ init_t [1/2]

using embedded_module::init_t = void (*)()

Definition at line 73 of file embed.h.

◆ init_t [2/2]

using embedded_module::init_t = PyObject *(*) ()

Definition at line 64 of file embed.h.

Constructor & Destructor Documentation

◆ embedded_module() [1/2]

embedded_module::embedded_module ( const char *  name,
init_t  init 
)
inline

Definition at line 75 of file embed.h.

References init(), and pybind11_fail().

◆ embedded_module() [2/2]

embedded_module::embedded_module ( const char *  name,
init_t  init 
)
inline

Definition at line 65 of file embed.h.

References init(), and pybind11_fail().


The documentation for this struct was generated from the following files: