We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c59b6 commit 94c8250Copy full SHA for 94c8250
include/pybind11/subinterpreter.h
@@ -21,7 +21,7 @@
21
22
PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
23
PYBIND11_NAMESPACE_BEGIN(detail)
24
-PyInterpreterState *get_interpreter_state_unchecked() {
+inline PyInterpreterState *get_interpreter_state_unchecked() {
25
auto cur_tstate = get_thread_state_unchecked();
26
if (cur_tstate)
27
return cur_tstate->interp;
0 commit comments