From da42ddf96c78a73b4cf5f8854e98e009f4f174a4 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 4 Jun 2019 18:59:00 -0400 Subject: ... --- src/type.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/type.cpp') 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]; } -- cgit v1.2.3