3 #include "RoomSmart_Stub.hpp"
5 // External create, destroy, and init functions
6 extern "C" void* createRoomSmart_Stub(void** params) {
7 // Arguments: int _port, const char* _skeletonAddress, string _callbackAddress, int _rev, bool* _bResult, vector<int> _ports
8 return new RoomSmart_Stub(*((int*) params[0]), ((string*) params[1])->c_str(), *((string*) params[2]), *((int*) params[3]), (bool*) params[4], *((vector<int>*) params[5]));
12 extern "C" void destroyRoomSmart_Stub(void* t) {
13 RoomSmart_Stub* rss = (RoomSmart_Stub*) t;