Skip to content
Laeeth Isharc edited this page Mar 19, 2015 · 1 revision

Table of Contents

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.

Authors

>Kirk McDonald

See also

The Python/C API\\ pyd.pydobject

Table of Contents

<<toc></toc>>

PydObject

Arithmetic

The following operators are supported for T a convertible D type and me a python object that supports the corresponding operator overload.

In-place Arithmetic

The following in-place operators supported for T a convertible D type and me a python object that supports the corresponding operator overload.

Type Conversion

Clone this wiki locally