diff --git a/deps/ox/src/ox/std/CMakeLists.txt b/deps/ox/src/ox/std/CMakeLists.txt index 8180b58a..b8136245 100644 --- a/deps/ox/src/ox/std/CMakeLists.txt +++ b/deps/ox/src/ox/std/CMakeLists.txt @@ -19,6 +19,7 @@ target_compile_definitions( add_library( OxStd assert.cpp + buffer.cpp buildinfo.cpp byteswap.cpp heapmgr.cpp @@ -61,6 +62,7 @@ install( assert.hpp bit.hpp bstring.hpp + buffer.hpp buildinfo.hpp byteswap.hpp defines.hpp diff --git a/deps/ox/src/ox/std/buffer.cpp b/deps/ox/src/ox/std/buffer.cpp new file mode 100644 index 00000000..87843b90 --- /dev/null +++ b/deps/ox/src/ox/std/buffer.cpp @@ -0,0 +1,16 @@ +/* + * Copyright 2015 - 2021 gary@drinkingtea.net + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include "error.hpp" +#include "buffer.hpp" + +namespace ox { + +template class Vector; + +} diff --git a/deps/ox/src/ox/std/buffer.hpp b/deps/ox/src/ox/std/buffer.hpp new file mode 100644 index 00000000..9462457a --- /dev/null +++ b/deps/ox/src/ox/std/buffer.hpp @@ -0,0 +1,19 @@ +/* + * Copyright 2015 - 2021 gary@drinkingtea.net + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include "vector.hpp" + +namespace ox { + +extern template class Vector; + +using Buffer = Vector; + +}