summaryrefslogtreecommitdiffstats
path: root/src/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object.c b/src/object.c
index 26bb1b3..7aaaa6e 100644
--- a/src/object.c
+++ b/src/object.c
@@ -15,3 +15,7 @@ int xas_object_set_gain(xas_object *object, float gain) {
xas_audio_stream *xas_object_stream_new(xas_object *object) {
return object->stream_new(object);
}
+
+void xas_object_destroy(xas_object *object) {
+ object->destroy(object);
+}