aboutsummaryrefslogtreecommitdiff
path: root/src/type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/type.cpp')
-rw-r--r--src/type.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/type.cpp b/src/type.cpp
index 8290a07..1b02933 100644
--- a/src/type.cpp
+++ b/src/type.cpp
@@ -3,6 +3,10 @@
extern "C" {
+bytearray_t *bytearray_new() {
+ return new bytearray_t();
+}
+
uint8_t *bytearray_data(bytearray_t *arr) {
return &(*arr)[0];
}