pyd.struct_wrap

Contains utilities for wrapping D structs.

struct Member (string name,Options...);
Wrap a member variable of a class or struct.

Params:
name The name of the member to wrap
Options Optional parameters. Takes Docstring!(docstring), PyName!(pyname), and Mode!(mode)
pyname The name of the member as it will appear in Python. Defaults to name
mode specifies whether this member is readable, writable. possible values are "r", "w", "rw". Defaults to "rw".
docstring The function's docstring. Defaults to "".

alias wrap_struct ;
Wrap a struct.

Page was generated with on Sun Nov 11 11:29:00 2012