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

Function cast_module_symbol

src/main.cpp:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

default_search_pathsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected