diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-08-20 08:39:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-08-20 08:39:08 +0300 |
commit | a10a7f42de29d251e27f6b85e7f3cac26e6843ed (patch) | |
tree | d831f64eac4e372ced2bbbbc448f0b06f3d360c6 /tests/python/cycles_render_tests.py | |
parent | 2ff9c8a3bc51142a1d7ad19d8b772b58e4dcc890 (diff) |
PyAPI: Integer conversion functions
Python's C-API doesn't provide functions to get
int's at specific integer sizes.
Leaving the caller to check for overflow,
which ended up being ignored in practice.
Add API functions that convert int/uint 8/16/32/64, also bool.
Raising overflow exception for unsupported ranges.
Diffstat (limited to 'tests/python/cycles_render_tests.py')
0 files changed, 0 insertions, 0 deletions