MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / cast_module_symbol

Function cast_module_symbol

samples/fun_call_performance.cpp:54–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54void *cast_module_symbol(std::vector<std::string>(*t_path)())
55{
56 union cast_union
57 {
58 std::vector<std::string>(*in_ptr)();
59 void *out_ptr;
60 };
61
62 cast_union c;
63 c.in_ptr = t_path;
64 return c.out_ptr;
65}
66
67std::vector<std::string> default_search_paths()
68{

Callers 1

default_search_pathsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected