Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bab2min/tomotopy
/ incref
Method
incref
src/Utils/SharedString.cpp:5–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
namespace tomoto
4
{
5
void SharedString::incref()
6
{
7
if (ptr)
8
{
9
++*(size_t*)ptr;
10
}
11
}
12
13
void SharedString::decref()
14
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected