summaryrefslogtreecommitdiff
path: root/src/helpers/MiscFunctions.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-01 16:41:17 +0100
committerVaxry <vaxry@vaxry.net>2024-05-01 16:41:17 +0100
commit8bcccf9f0f0f69986e315d4288dfdbf119dd19db (patch)
treeeebb6714fc1e41a0df2784ed22752f0efe2bbdc1 /src/helpers/MiscFunctions.hpp
parent4ed6b69b68a544a81cec583a1ad8aff218f7db5d (diff)
ime-v2: move to new impl
Diffstat (limited to 'src/helpers/MiscFunctions.hpp')
-rw-r--r--src/helpers/MiscFunctions.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/MiscFunctions.hpp b/src/helpers/MiscFunctions.hpp
index d8a86b95..80103eac 100644
--- a/src/helpers/MiscFunctions.hpp
+++ b/src/helpers/MiscFunctions.hpp
@@ -38,6 +38,7 @@ void throwError(const std::string& err);
uint32_t drmFormatToGL(uint32_t drm);
uint32_t glFormatToType(uint32_t gl);
bool envEnabled(const std::string& env);
+int allocateSHMFile(size_t len);
template <typename... Args>
[[deprecated("use std::format instead")]] std::string getFormat(std::format_string<Args...> fmt, Args&&... args) {