aboutsummaryrefslogtreecommitdiff
path: root/src/type.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-04 18:59:00 -0400
committerDeterminant <[email protected]>2019-06-04 18:59:00 -0400
commitda42ddf96c78a73b4cf5f8854e98e009f4f174a4 (patch)
tree2435817585507cbc2a158fd84996884263dcc8ec /src/type.cpp
parentebada91a1327da99f1827c7e4c15fc3bee527d58 (diff)
...
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];
}