aboutsummaryrefslogtreecommitdiff
path: root/moony.h
diff options
context:
space:
mode:
Diffstat (limited to 'moony.h')
-rw-r--r--moony.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/moony.h b/moony.h
index 8363dc9..9e74419 100644
--- a/moony.h
+++ b/moony.h
@@ -272,6 +272,7 @@ struct _moony_t {
LV2_Atom *state_atom;
LV2_Atom *stash_atom;
+ uint32_t stash_size;
latom_driver_hash_t atom_driver_hash [DRIVER_HASH_MAX];
@@ -362,6 +363,15 @@ _moony_patch(patch_t *patch, LV2_Atom_Forge *forge, LV2_URID key,
return 0; // overflow
}
+void *
+moony_alloc(moony_t *moony, size_t nsize);
+
+void *
+moony_realloc(moony_t *moony, void *buf, size_t osize, size_t nsize);
+
+void
+moony_free(moony_t *moony, void *buf, size_t osize);
+
LV2_Atom_Forge_Ref
_sink(LV2_Atom_Forge_Sink_Handle handle, const void *buf, uint32_t size);