summaryrefslogtreecommitdiff
path: root/src/pkstr.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2024-11-14 14:46:23 -0500
committerJonathan Bradley <jcb@pikum.xyz>2024-11-14 14:46:23 -0500
commitb2548ba4ce295fcd94a50123fb543fac2ef2bc33 (patch)
tree444a32abb4a094c4fa2f7bc9a95aa86963ad4110 /src/pkstr.hpp
parentb1d926361b9d613ad712ad161f9a8b7ccab4551d (diff)
add pk.h and major pkmem refactor
Completely replaces the memory module with pkmem pkmem is a newer implementation of the same bucket memory structure. Also includes replacing pkstr.h with pk.h's pkstr
Diffstat (limited to 'src/pkstr.hpp')
-rw-r--r--src/pkstr.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/pkstr.hpp b/src/pkstr.hpp
deleted file mode 100644
index 0f2fb0d..0000000
--- a/src/pkstr.hpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef PKE_STRING_HPP
-#define PKE_STRING_HPP
-
-#include <cstdint>
-
-struct pkstr {
- int64_t length = 0;
- char *val = nullptr;
-};
-struct cpkstr {
- int64_t length = 0;
- const char *val = nullptr;
-};
-
-pkstr to_pkstr(char *s);
-pkstr to_pkstr(const cpkstr &s);
-cpkstr to_cpkstr(const char *s);
-cpkstr to_cpkstr(const pkstr &s);
-
-#endif /* PKE_STRING_HPP */