Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ set_global_var
Function
set_global_var
dlib/test/thread_pool.cpp:66–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
65
66
void set_global_var() { global_var = 9; }
67
68
void gset_struct_to_zero (some_struct& a) { a.val = 0; }
69
void gset_to_zero (int& a) { a = 0; }
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected