MCPcopy Create free account
hub / github.com/ThePhD/sol2 / free_function

Function free_function

tests/config_tests/function_pointers/source/retrieval.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 using callback_type = int (*)(one_arg_type);
35
36 int free_function(int value) {
37 return value + 1;
38 }
39
40 int callback(one_arg_type f) {
41 return f(magic_value) + 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected