MCPcopy Create free account
hub / github.com/MCJack123/craftos2 / plugin_init

Function plugin_init

examples/example_peripheral.cpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46extern "C" {
47DLLEXPORT PluginInfo * plugin_init(PluginFunctions * func, const path_t& path) {
48 func->registerPeripheralFn("example_peripheral", &example_peripheral::init);
49 return &info;
50}
51}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected