cppyabm  1.0.17
An agent-based library to integrate C++ and Python
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 <embed.h>

Public Types

using init_t = void(*)()
 

Public Member Functions

 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 72 of file embed.h.

Member Typedef Documentation

◆ init_t

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

Definition at line 76 of file embed.h.

Constructor & Destructor Documentation

◆ embedded_module()

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

Definition at line 78 of file embed.h.


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