Commit 3ff38fbb authored by Brice Videau's avatar Brice Videau
Browse files

Added more introspection to the API.

parent 87141bf6
......@@ -28,9 +28,9 @@ ccs_tree_configuration_get_position(ccs_tree_configuration_t configuration,
extern ccs_result_t
ccs_tree_configuration_get_values(ccs_tree_configuration_t configuration,
size_t num_values,
ccs_datum_t *values,
size_t *num_values_ret);
size_t num_values,
ccs_datum_t *values,
size_t *num_values_ret);
extern ccs_result_t
ccs_tree_configuration_get_arity(ccs_tree_configuration_t configuration,
......
......@@ -25,11 +25,18 @@ struct ccs_dynamic_tree_space_vector_s {
ccs_tree_configuration_t configuration,
size_t *arity_ret);
ccs_result_t (*values)(
ccs_tree_space_t tree_space,
ccs_tree_configuration_t configuration,
size_t num_values,
ccs_datum_t *values,
size_t *num_values_ret);
ccs_result_t (*child)(
ccs_tree_space_t tree_space,
ccs_tree_configuration_t configuration,
size_t child_index,
void *user_data,
void *user_data,
ccs_tree_configuration_t *child_ret);
};
typedef struct ccs_dynamic_tree_space_vector_s ccs_dynamic_tree_space_vector_t;
......@@ -69,6 +76,10 @@ ccs_tree_space_get_configuration_child(ccs_tree_space_t tree_space,
void *user_data,
ccs_tree_configuration_t *child_ret);
extern ccs_result_t
ccs_static_tree_space_get_tree(ccs_tree_space_t tree_space,
ccs_tree_t *tree_ret);
#ifdef __cplusplus
}
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment