about summary refs log tree commit diff stats
path: root/include
diff options
context:
space:
mode:
authorlatex <latex@disroot.org>2023-01-26 00:46:22 +0100
committerlatex <latex@disroot.org>2023-01-26 00:46:22 +0100
commitb5325740444bcc8bfcd5a02f2ef9026589ba8d49 (patch)
tree20b62c0455fb9946e6244088d47641398039e1aa /include
parent170025ac5d96f1c46483a88ca4372254a5da6161 (diff)
downloadlibumumble-b5325740444bcc8bfcd5a02f2ef9026589ba8d49.tar.gz
fix API, fix Makefile, add unit tests
Diffstat (limited to 'include')
-rw-r--r--include/libumumble.h8
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
 }