12 lines
304 B
C++
12 lines
304 B
C++
#include "PhysicsClientSharedMemory_C_API.h"
|
|
|
|
#include "PhysicsClientSharedMemory.h"
|
|
|
|
B3_SHARED_API b3PhysicsClientHandle b3ConnectSharedMemory(int key)
|
|
{
|
|
PhysicsClientSharedMemory* cl = new PhysicsClientSharedMemory();
|
|
cl->setSharedMemoryKey(key);
|
|
cl->connect();
|
|
return (b3PhysicsClientHandle)cl;
|
|
}
|