mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-13 21:25:26 -04:00
19 lines
326 B
C++
19 lines
326 B
C++
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
|
|
|
#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();
|
|
}
|