diff options
author | latex <latex@disroot.org> | 2023-01-26 00:46:22 +0100 |
---|---|---|
committer | latex <latex@disroot.org> | 2023-01-26 00:46:22 +0100 |
commit | b5325740444bcc8bfcd5a02f2ef9026589ba8d49 (patch) | |
tree | 20b62c0455fb9946e6244088d47641398039e1aa /include | |
parent | 170025ac5d96f1c46483a88ca4372254a5da6161 (diff) | |
download | libumumble-b5325740444bcc8bfcd5a02f2ef9026589ba8d49.tar.gz |
fix API, fix Makefile, add unit tests
Diffstat (limited to 'include')
-rw-r--r-- | include/libumumble.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |