mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-01 01:08:48 -04:00
17 lines
275 B
C++
17 lines
275 B
C++
#include "JSystem/JHostIO/JHICommonMem.h"
|
|
|
|
JHIMemBuf* JHICommonMem::instance;
|
|
|
|
JHIMemBuf* JHICommonMem::Instance() {
|
|
if (instance == NULL) {
|
|
instance = new JHIMemBuf();
|
|
}
|
|
|
|
return instance;
|
|
}
|
|
|
|
JHIMemBuf::JHIMemBuf() {
|
|
mp_buffer = NULL;
|
|
create();
|
|
}
|