X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Freference-v3%2Ffunc-api.md;fp=docs%2Freference-v3%2Ffunc-api.md;h=454bc0f6be44f31c200da9774f4d213ed6bf0bfc;hb=64ca02ceed8acd4b55e423de6b586a143f5a3c64;hp=aa28932adb7f55a9c3f53daa725b844bb729379f;hpb=0e2b5f5b7fa3a09abf61c8253efce7c7f2b4c444;p=src%2Fapp-framework-binder.git diff --git a/docs/reference-v3/func-api.md b/docs/reference-v3/func-api.md index aa28932a..454bc0f6 100644 --- a/docs/reference-v3/func-api.md +++ b/docs/reference-v3/func-api.md @@ -293,6 +293,9 @@ struct json_object *afb_api_settings( * 4. 'info' a string handling some info (can be NULL) * 5. 'api' the api * + * NOTE: For convenience, *json_object_put* is called on 'object' after the + * callback returns. So, it is wrong to call *json_object_put* in the callback. + * * @param api The api that makes the call * @param apiname The api name of the method to call * @param verb The verb name of the method to call