Files
dusklight/src/JSystem/JHostIO/JHICommonMem.cpp
T
2025-01-19 22:05:53 -07:00

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();
}