Make addref for request return the pointer
[src/app-framework-binder.git] / include / afb / afb-request-itf.h
index f28788e..4c62b3d 100644 (file)
@@ -94,7 +94,7 @@ struct afb_request_itf
                        void *value,
                        void (*free_value)(void*));
 
-       void (*addref)(
+       struct afb_request *(*addref)(
                        struct afb_request *request);
 
        void (*unref)(