Skip to content

Commit

Permalink
Fix redundant declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Feb 16, 2025
1 parent d2e7e8c commit b3c6954
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions include/pybind11/detail/class.h
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,6 @@ extern "C" inline void pybind11_object_dealloc(PyObject *self) {
Py_DECREF(type);
}

std::string error_string();

/** Create the type which can be used as a common base for all classes. This is
needed in order to satisfy Python's requirements for multiple inheritance.
Return value: New reference. */
Expand Down
3 changes: 0 additions & 3 deletions include/pybind11/gil.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)

PYBIND11_NAMESPACE_BEGIN(detail)

// forward declarations
PyThreadState *get_thread_state_unchecked();

PYBIND11_NAMESPACE_END(detail)

#if !defined(PYBIND11_SIMPLE_GIL_MANAGEMENT)
Expand Down

0 comments on commit b3c6954

Please sign in to comment.