Fix tiny documentation bug 31/15731/1
authorJose Bollo <jose.bollo@iot.bzh>
Wed, 25 Jul 2018 13:09:07 +0000 (15:09 +0200)
committerJose Bollo <jose.bollo@iot.bzh>
Wed, 25 Jul 2018 13:12:48 +0000 (15:12 +0200)
Change-Id: Ib11160a8137480af92c450b65039b1272084f2d6
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
docs/reference-v3/func-api.md
include/afb/afb-api-x3.h

index 2f836ca..535bff8 100644 (file)
@@ -579,9 +579,9 @@ struct sd_bus *afb_api_get_system_bus(
  * @param info the brief description of the new api (can be NULL)
  * @param noconcurrency zero or not zero whether the new api is reentrant or not
  * @param preinit the pre-initialization function if any (can be NULL)
- * @param closure the closure for the pre-initialization \ref preinit
+ * @param closure the closure for the pre-initialization preinit
  *
- * @return 0 in case of success or -1 on failure with errno set
+ * @return the created api in case of success or NULL on error
  *
  * @see afb_api_delete_api
  */
index 9f06172..0346135 100644 (file)
@@ -549,9 +549,9 @@ int afb_api_x3_call_sync_legacy(
  * @param info the brief description of the new api (can be NULL)
  * @param noconcurrency zero or not zero whether the new api is reentrant or not
  * @param preinit the pre-initialization function if any (can be NULL)
- * @param closure the closure for the pre-initialization \ref preinit
+ * @param closure the closure for the pre-initialization preinit
  *
- * @return 0 in case of success or -1 on failure with errno set
+ * @return the created api in case of success or NULL on error
  *
  * @see afb_api_x3_delete_api
  */