Mercurial > pytave
changeset 361:07c1b457cb6b
Make pytave::make_py_int functions public
* oct-py-types.cc (pytave::make_py_int): Remove inline designator to make
functions public.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Thu, 25 Aug 2016 09:29:51 -0700 |
parents | 77ffcaaf8000 |
children | b0677c492655 |
files | oct-py-types.cc |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/oct-py-types.cc Wed Aug 24 13:04:21 2016 -0700 +++ b/oct-py-types.cc Thu Aug 25 09:29:51 2016 -0700 @@ -99,7 +99,7 @@ return PyFloat_AsDouble (obj); } -inline PyObject * +PyObject * make_py_int (int32_t value) { #if PY_VERSION_HEX >= 0x03000000 @@ -109,13 +109,13 @@ #endif } -inline PyObject * +PyObject * make_py_int (uint32_t value) { return PyLong_FromUnsignedLong (value); } -inline PyObject * +PyObject * make_py_int (int64_t value) { #if (defined (HAVE_LONG_LONG) && (SIZEOF_LONG_LONG > SIZEOF_LONG)) @@ -125,7 +125,7 @@ #endif } -inline PyObject * +PyObject * make_py_int (uint64_t value) { #if (defined (HAVE_LONG_LONG) && (SIZEOF_LONG_LONG > SIZEOF_LONG))