Mercurial > pub > dyncall > bindings
comparison python/pydc/README.txt @ 44:0f86a5ecfe61
- python: allow None to be passed for 'p'ointers, always passing NULL
author | Tassilo Philipp |
---|---|
date | Tue, 27 Oct 2020 18:44:18 +0100 |
parents | 8c8f848131c6 |
children | c21d1c2c84e1 |
comparison
equal
deleted
inserted
replaced
43:1086ca649715 | 44:0f86a5ecfe61 |
---|---|
9 API, as well as support for python unicode strings | 9 API, as well as support for python unicode strings |
10 Apr 11, 2020: support for getting loaded library path | 10 Apr 11, 2020: support for getting loaded library path |
11 Apr 12, 2020: breaking change: restrict 'Z' conversions to immutable types | 11 Apr 12, 2020: breaking change: restrict 'Z' conversions to immutable types |
12 and 'p' to mutable types (and handles) | 12 and 'p' to mutable types (and handles) |
13 Apr 13, 2020: added signature char support to specify calling conventions | 13 Apr 13, 2020: added signature char support to specify calling conventions |
14 Oct 27, 2020: allowing 'None' for 'p' params, always passing NULL | |
14 | 15 |
15 | 16 |
16 BUILD/INSTALLATION | 17 BUILD/INSTALLATION |
17 ================== | 18 ================== |
18 | 19 |
73 'f' | float (PyFloat) $ | float (PyFloat) $ | float | float (PyFloat) ^ | float (PyFloat) ^ | 74 'f' | float (PyFloat) $ | float (PyFloat) $ | float | float (PyFloat) ^ | float (PyFloat) ^ |
74 'd' | float (PyFloat) | float (PyFloat) | double | float (PyFloat) | float (PyFloat) | 75 'd' | float (PyFloat) | float (PyFloat) | double | float (PyFloat) | float (PyFloat) |
75 'p' | bytearray (PyByteArray) & | bytearray (PyByteArray) & | void* | int,long (Py_ssize_t) | int (Py_ssize_t) | 76 'p' | bytearray (PyByteArray) & | bytearray (PyByteArray) & | void* | int,long (Py_ssize_t) | int (Py_ssize_t) |
76 | int (PyInt) | int (PyLong) | void* | int,long (Py_ssize_t) | int (Py_ssize_t) | 77 | int (PyInt) | int (PyLong) | void* | int,long (Py_ssize_t) | int (Py_ssize_t) |
77 | long (PyLong) | - | void* | int,long (Py_ssize_t) | int (Py_ssize_t) | 78 | long (PyLong) | - | void* | int,long (Py_ssize_t) | int (Py_ssize_t) |
79 | None (Py_None) | None (Py_None) | void* (always NULL) | int,long (Py_ssize_t) | int (Py_ssize_t) | |
78 'Z' | str (PyString) ! | str (PyUnicode) ! | const char* (UTF-8 for unicode) | int (PyString) | str (PyUnicode) | 80 'Z' | str (PyString) ! | str (PyUnicode) ! | const char* (UTF-8 for unicode) | int (PyString) | str (PyUnicode) |
79 | unicode (PyUnicode) ! | - | const char* (UTF-8 for unicode) | int (PyString) | str (PyUnicode) | 81 | unicode (PyUnicode) ! | - | const char* (UTF-8 for unicode) | int (PyString) | str (PyUnicode) |
80 | - | bytes (PyBytes) ! | const char* (UTF-8 for unicode) | int (PyString) | str (PyUnicode) | 82 | - | bytes (PyBytes) ! | const char* (UTF-8 for unicode) | int (PyString) | str (PyUnicode) |
81 | bytearray (PyByteArray) ! | bytearray (PyByteArray) ! | const char* (UTF-8 for unicode) | int (PyString) | str (PyUnicode) | 83 | bytearray (PyByteArray) ! | bytearray (PyByteArray) ! | const char* (UTF-8 for unicode) | int (PyString) | str (PyUnicode) |
82 | 84 |