Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ memory_limit
Method
memory_limit
examples/source/allocation_limit.cpp:31–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
std::size_t memory_limit() const {
32
return limit;
33
}
34
35
static void* allocate(void* memory_tracker_ud, void* ptr,
36
size_t object_code, size_t nsize) {
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected