#include #include "unit_004.hpp" namespace Unit_004 { void wrapper() { SLB_DEBUG_CALL; SLB_DEBUG(1, "--> Loading unit_004 wrapper -->"); SLB::Class("Unit_004::Animal") .set("makeSound", &Animal::makeSound) ; SLB::Class("Unit_004::Duck") .constructor() .set("canFly", &Duck::canFly) .inherits() ; SLB::Class("Unit_004::Dog") .constructor() .set("bites", &Dog::bites) .inherits() ; SLB_DEBUG(1, "<-- Loading unit_004 wrapper <--"); } SLB_ON_LOAD(wrapper) }