#include #include -- | module Bindings.GLib.DataTypes.NAryTrees where #strict_import import Bindings.GLib.Fundamentals import Bindings.GLib.DataTypes.BalancedBinaryTrees #starttype GNode #field data , #field next , Ptr #field prev , Ptr #field parent , Ptr #field children , Ptr #stoptype #ccall g_node_new , -> IO (Ptr ) #ccall g_node_copy , Ptr -> IO (Ptr ) #callback GCopyFunc , -> -> IO #ccall g_node_copy_deep , Ptr -> -> -> IO (Ptr ) #ccall g_node_insert , Ptr -> -> Ptr -> IO (Ptr ) #ccall g_node_insert_before , Ptr -> Ptr -> Ptr -> IO (Ptr ) #ccall g_node_insert_after , Ptr -> Ptr -> Ptr -> IO (Ptr ) #cinline g_node_append , Ptr -> Ptr -> IO (Ptr ) #ccall g_node_prepend , Ptr -> Ptr -> IO (Ptr ) #cinline g_node_insert_data , Ptr -> -> -> IO (Ptr ) #cinline g_node_insert_data_before , Ptr -> Ptr -> -> IO (Ptr ) #cinline g_node_append_data , Ptr -> -> IO (Ptr ) #cinline g_node_prepend_data , Ptr -> -> IO (Ptr ) #ccall g_node_reverse_children , Ptr -> IO () #ccall g_node_traverse , Ptr -> -> -> -> -> -> IO () #integral_t GTraverseFlags #num G_TRAVERSE_LEAVES #num G_TRAVERSE_NON_LEAVES #num G_TRAVERSE_ALL #num G_TRAVERSE_MASK #num G_TRAVERSE_LEAFS #num G_TRAVERSE_NON_LEAFS #callback GNodeTraverseFunc , Ptr -> -> IO #ccall g_node_children_foreach , Ptr -> -> -> -> IO () #callback GNodeForeachFunc , Ptr -> -> IO () #ccall g_node_get_root , Ptr -> IO (Ptr ) #ccall g_node_find , Ptr -> -> -> -> IO (Ptr ) #ccall g_node_find_child , Ptr -> -> -> IO (Ptr ) #ccall g_node_child_index , Ptr -> -> IO #ccall g_node_child_position , Ptr -> Ptr -> IO #cinline g_node_first_child , Ptr -> IO (Ptr ) #ccall g_node_last_child , Ptr -> IO (Ptr ) #ccall g_node_nth_child , Ptr -> -> IO (Ptr ) #ccall g_node_first_sibling , Ptr -> IO (Ptr ) #cinline g_node_next_sibling , Ptr -> IO (Ptr ) #cinline g_node_prev_sibling , Ptr -> IO (Ptr ) #ccall g_node_last_sibling , Ptr -> IO (Ptr ) #cinline G_NODE_IS_LEAF , Ptr -> IO #cinline G_NODE_IS_ROOT , Ptr -> IO #ccall g_node_depth , Ptr -> IO #ccall g_node_n_nodes , Ptr -> -> IO #ccall g_node_n_children , Ptr -> IO #ccall g_node_is_ancestor , Ptr -> Ptr -> IO #ccall g_node_max_height , Ptr -> IO #ccall g_node_unlink , Ptr -> IO () #ccall g_node_destroy , Ptr -> IO ()