Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ texconfig_copy
Function
texconfig_copy
source/src/texture.cpp:1133–1138 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1131
// (pasting will add any missing texture slots)
1132
1133
void *texconfig_copy()
1134
{
1135
vector<Slot> *s = new vector<Slot>;
1136
loopv(slots) s->add(slots[i]);
1137
return (void *)s;
1138
}
1139
1140
void texconfig_delete(void *s)
1141
{
Callers
1
copy
Function · 0.85
Calls
2
loopv
Function · 0.70
add
Method · 0.45
Tested by
no test coverage detected