mirror of
https://github.com/Relintai/sfw.git
synced 2025-01-03 05:09:36 +01:00
32 lines
407 B
C++
32 lines
407 B
C++
|
|
//--STRIP
|
|
#include "sfw_core.h"
|
|
|
|
#include "core/pool_vector.h"
|
|
#include "core/string_name.h"
|
|
//--STRIP
|
|
|
|
void SFWCore::setup() {
|
|
if (_initialized) {
|
|
return;
|
|
}
|
|
|
|
_initialized = true;
|
|
|
|
StringName::setup();
|
|
MemoryPool::setup();
|
|
}
|
|
|
|
void SFWCore::cleanup() {
|
|
if (!_initialized) {
|
|
return;
|
|
}
|
|
|
|
_initialized = false;
|
|
|
|
StringName::cleanup();
|
|
MemoryPool::cleanup();
|
|
}
|
|
|
|
bool SFWCore::_initialized = false;
|