@@ -2000,6 +2000,11 @@ struct accesskit_node *accesskit_node_new(accesskit_role role);
20002000
20012001void accesskit_node_free (struct accesskit_node * node );
20022002
2003+ /**
2004+ * Caller must call `accesskit_string_free` with the return value.
2005+ */
2006+ char * accesskit_node_debug (const struct accesskit_node * node );
2007+
20032008struct accesskit_tree * accesskit_tree_new (accesskit_node_id root );
20042009
20052010void accesskit_tree_free (struct accesskit_tree * tree );
@@ -2024,6 +2029,11 @@ void accesskit_tree_set_toolkit_version(struct accesskit_tree *tree,
20242029
20252030void accesskit_tree_clear_toolkit_version (struct accesskit_tree * tree );
20262031
2032+ /**
2033+ * Caller must call `accesskit_string_free` with the return value.
2034+ */
2035+ char * accesskit_tree_debug (const struct accesskit_tree * tree );
2036+
20272037struct accesskit_tree_update * accesskit_tree_update_with_focus (
20282038 accesskit_node_id focus );
20292039
@@ -2048,6 +2058,12 @@ void accesskit_tree_update_clear_tree(struct accesskit_tree_update *update);
20482058void accesskit_tree_update_set_focus (struct accesskit_tree_update * update ,
20492059 accesskit_node_id focus );
20502060
2061+ /**
2062+ * Caller must call `accesskit_string_free` with the return value.
2063+ */
2064+ char * accesskit_tree_update_debug (
2065+ const struct accesskit_tree_update * tree_update );
2066+
20512067void accesskit_action_request_free (struct accesskit_action_request * request );
20522068
20532069struct accesskit_affine accesskit_affine_identity (void );
@@ -2212,6 +2228,14 @@ void *accesskit_macos_adapter_hit_test(
22122228 void * activation_handler_userdata );
22132229#endif
22142230
2231+ #if defined(__APPLE__ )
2232+ /**
2233+ * Caller must call `accesskit_string_free` with the return value.
2234+ */
2235+ char * accesskit_macos_adapter_debug (
2236+ const struct accesskit_macos_adapter * adapter );
2237+ #endif
2238+
22152239#if defined(__APPLE__ )
22162240/**
22172241 * # Safety
@@ -2347,6 +2371,15 @@ void accesskit_unix_adapter_update_window_focus_state(
23472371 struct accesskit_unix_adapter * adapter , bool is_focused );
23482372#endif
23492373
2374+ #if (defined(__linux__ ) || defined(__DragonFly__ ) || defined(__FreeBSD__ ) || \
2375+ defined(__NetBSD__ ) || defined(__OpenBSD__ ))
2376+ /**
2377+ * Caller must call `accesskit_string_free` with the return value.
2378+ */
2379+ char * accesskit_unix_adapter_debug (
2380+ const struct accesskit_unix_adapter * adapter );
2381+ #endif
2382+
23502383#if defined(_WIN32 )
23512384/**
23522385 * Memory is also freed when calling this function.
@@ -2397,6 +2430,14 @@ struct accesskit_opt_lresult accesskit_windows_adapter_handle_wm_getobject(
23972430 void * activation_handler_userdata );
23982431#endif
23992432
2433+ #if defined(_WIN32 )
2434+ /**
2435+ * Caller must call `accesskit_string_free` with the return value.
2436+ */
2437+ char * accesskit_windows_adapter_debug (
2438+ const struct accesskit_windows_adapter * adapter );
2439+ #endif
2440+
24002441#if defined(_WIN32 )
24012442/**
24022443 * Creates a new Windows platform adapter using window subclassing.
0 commit comments