-
Notifications
You must be signed in to change notification settings - Fork 32
PyDObject
The PydObject class wraps a PyObject*, using the D garbage collector to handle the reference count so that you don't have to. It also overloads quite a lot of operators, and tries to make using Python objects in D code as much like using them in Python as possible. However, it is incomplete (the function and method call methods in particular need work, and there are a number of helper functions that need to be written), and remains a work in progress.
>Kirk McDonald
The Python/C API\\ pyd.pydobject
<<toc></toc>>
The following operators are supported for T a convertible D type and me a python object that supports the corresponding operator overload.
The following in-place operators supported for T a convertible D type and me a python object that supports the corresponding operator overload.