Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ inc_ref
Method
inc_ref
include/pybind11/gil.h:105–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
gil_scoped_acquire &operator=(const gil_scoped_acquire &) = delete;
104
105
void inc_ref() { ++tstate->gilstate_counter; }
106
107
PYBIND11_NOINLINE void dec_ref() {
108
--tstate->gilstate_counter;
Callers
15
MySingleton
Class · 0.80
cast
Method · 0.80
cast
Method · 0.80
cast
Function · 0.80
dispatcher
Method · 0.80
add_object
Function · 0.80
keep_alive_impl
Function · 0.80
array
Method · 0.80
cast
Method · 0.80
cast
Method · 0.80
init
Method · 0.80
pytypes.h
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected