#include "PhysicsClientSharedMemory_C_API.h" #include "PhysicsClientSharedMemory.h" b3PhysicsClientHandle b3ConnectSharedMemory(int key) { PhysicsClientSharedMemory* cl = new PhysicsClientSharedMemory(); cl->setSharedMemoryKey(key); cl->connect(); return (b3PhysicsClientHandle)cl; }