From b4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9 Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Tue, 20 Jul 2010 14:00:44 -0300 Subject: fixed tests exported symbols. Reviewer: Hugo Parente Lima Luciano Wolf --- libshiboken/autodecref.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libshiboken/autodecref.h') diff --git a/libshiboken/autodecref.h b/libshiboken/autodecref.h index 9e8bc6619..6c9750dfa 100644 --- a/libshiboken/autodecref.h +++ b/libshiboken/autodecref.h @@ -57,13 +57,13 @@ public: Py_XDECREF(m_pyobj); } - bool isNull() const { return m_pyobj == 0; } + inline bool isNull() const { return m_pyobj == 0; } /// Returns the pointer of the Python object being held. - PyObject* object() { return m_pyobj; } - operator PyObject*() { return m_pyobj; } - operator PyTupleObject*() { return reinterpret_cast(m_pyobj); } - operator bool() const { return m_pyobj; } - PyObject* operator->() { return m_pyobj; } + inline PyObject* object() { return m_pyobj; } + inline operator PyObject*() { return m_pyobj; } + inline operator PyTupleObject*() { return reinterpret_cast(m_pyobj); } + inline operator bool() const { return m_pyobj; } + inline PyObject* operator->() { return m_pyobj; } private: PyObject* m_pyobj; AutoDecRef(const AutoDecRef&); -- cgit v1.2.3