From b5325740444bcc8bfcd5a02f2ef9026589ba8d49 Mon Sep 17 00:00:00 2001 From: latex Date: Thu, 26 Jan 2023 00:46:22 +0100 Subject: fix API, fix Makefile, add unit tests --- include/libumumble.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/libumumble.h b/include/libumumble.h index 2605688..3a66099 100644 --- a/include/libumumble.h +++ b/include/libumumble.h @@ -15,17 +15,17 @@ typedef struct mumble_ctx { * This function will allocate initial memory needed for storing e.g. the channel layout. * Make sure to call mumble_free_ctx() when you're done! * - * \param ctx the context object to initialize. + * \param ctx pointer to the context object to initialize. * \return int indicating success * \retval 1 error */ -int mumble_init_ctx(mumble_ctx_t ctx); +int mumble_init_ctx(mumble_ctx_t *ctx); /* Free a mumble context. * - * \param ctx the context object to free. + * \param ctx pointer to the context object to free. */ -void mumble_free_ctx(mumble_ctx_t ctx); +void mumble_free_ctx(mumble_ctx_t *ctx); #ifdef __cplusplus } -- cgit 1.4.1-2-gfad0