# HG changeset patch # User Mike Miller # Date 1472142591 25200 # Node ID 07c1b457cb6b3af44c364538d46830b1e068d506 # Parent 77ffcaaf800079f650dfa033832e546382a00ad7 Make pytave::make_py_int functions public * oct-py-types.cc (pytave::make_py_int): Remove inline designator to make functions public. diff -r 77ffcaaf8000 -r 07c1b457cb6b oct-py-types.cc --- 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))