mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
17 lines
298 B
C++
17 lines
298 B
C++
#ifndef SHARED_MEMORY_INTERFACE_H
|
|
#define SHARED_MEMORY_INTERFACE_H
|
|
|
|
class SharedMemoryInterface
|
|
{
|
|
public:
|
|
virtual ~SharedMemoryInterface()
|
|
{
|
|
}
|
|
|
|
virtual void* allocateSharedMemory(int key, int size, bool allowCreation) =0;
|
|
virtual void releaseSharedMemory(int key, int size) =0;
|
|
};
|
|
|
|
#endif
|
|
|