Fix return type of action_result_cb
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 13 May 2025 05:47:36 +0000 (14:47 +0900)
committer장상윤/Tizen Platform Lab(SR)/삼성전자 <jeremy.jang@samsung.com>
Tue, 13 May 2025 05:55:35 +0000 (14:55 +0900)
Fix to void from bool.

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/api/action.h

index 5ff449728b2f07386a6cc2f8b9e62218a80cbdf3..e141939797db58f04a50d5c153c46eb5575631fb 100644 (file)
@@ -48,11 +48,9 @@ typedef bool (*action_foreach_action_cb)(const action_h action, void *user_data)
  * @param[in] execution_id The ID of the action execution.
  * @param[in] json_result The result of the action execution.
  * @param[in] user_data The user data passed from the callback registration function.
- * @return @c true to continue with the next iteration of the loop,
- *         otherwise @c false to break out of the loop.
  * @see tizen_action_execute_action()
  */
-typedef bool (*action_result_cb)(int execution_id, const char *json_result, void *user_data);
+typedef void (*action_result_cb)(int execution_id, const char *json_result, void *user_data);
 
 /**
  * @brief Creates a action client handle.