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

Method deinit

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

Source from the content-addressed store, hash-verified

30 }
31 static peripheral * init(lua_State *L, const char * side) {return new example_peripheral(L, side);}
32 static void deinit(peripheral * p) {delete (example_peripheral*)p;}
33 virtual destructor getDestructor() const {return deinit;}
34 void update(){}
35 virtual library_t getMethods() const {return methods;}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected