autowrap.python.wrap

Functions to wrap entities in D modules for Python consumption.

These functions are usually not called directly, but from the mixin generated by autowrap.python.boilerplate.pydBoilerplate.

Members

Functions

toSnakeCase
string toSnakeCase(in string str)

Converts an identifier from camelCase or PascalCase to snake_case.

wrapAggregate
auto wrapAggregate()

Wrap aggregate of type T.

wrapAllAggregates
void wrapAllAggregates()

Wrap all aggregates found in the given modules, specified by their name (to avoid importing all of them first).

wrapAllFunctions
void wrapAllFunctions()

Wrap global functions from multiple modules

wrapFunctions
void wrapFunctions()

Wrap glocal functions in a module, given as a string

wrapFunctions
void wrapFunctions()

Wrap global functions in a module

Meta