| 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;} |
nothing calls this directly
no outgoing calls
no test coverage detected