autowrap.pynih.wrap

Wrapping functionality for D to Python.

Members

Functions

createPythonModule
auto createPythonModule()
Undocumented in source. Be warned that the author may not have intended to support it.
createPythonModuleMixin
string createPythonModuleMixin()
Undocumented in source. Be warned that the author may not have intended to support it.
wrapDlang
string wrapDlang()

Returns a string to mixin that implements the necessary boilerplate to create a Python library containing one Python module wrapping all relevant D code and data structures.

Imports

Module (from autowrap.reflection)
public import autowrap.reflection : Modules, Module, isModule;
Undocumented in source.
Modules (from autowrap.reflection)
public import autowrap.reflection : Modules, Module, isModule;
Undocumented in source.
No (from std.typecons)
public import std.typecons : Yes, No;
Undocumented in source.
Yes (from std.typecons)
public import std.typecons : Yes, No;
Undocumented in source.
isModule (from autowrap.reflection)
public import autowrap.reflection : Modules, Module, isModule;
Undocumented in source.

Mixin templates

createPythonModule
mixintemplate createPythonModule(python.boilerplate.Module module_, alias cfunctions, alias aggregates)
Undocumented in source.
createPythonModule
mixintemplate createPythonModule(python.boilerplate.Module module_, alias cfunctions, alias aggregates)
Undocumented in source.

Structs

LibraryName (from autowrap.types)
struct LibraryName via public import autowrap.types : LibraryName, PreModuleInitCode, PostModuleInitCode;

The name of the dynamic library, i.e. the file name with the .so/.dll extension

PostModuleInitCode (from autowrap.types)
struct PostModuleInitCode via public import autowrap.types : LibraryName, PreModuleInitCode, PostModuleInitCode;

Code to be inserted after the call to module_init

PreModuleInitCode (from autowrap.types)
struct PreModuleInitCode via public import autowrap.types : LibraryName, PreModuleInitCode, PostModuleInitCode;

Code to be inserted before the call to module_init

Meta