#ifndef XTC_GRAPH_INTERNAL_H #define XTC_GRAPH_INTERNAL_H #include "xtc/xtc_engine.h" #define XTC_MAX_NODES 256U #define XTC_MAX_FRAMES 65536U typedef struct { xtc_node_type type; float value; } xtc_node; typedef struct { size_t source; size_t destination; } xtc_edge; struct xtc_graph { size_t max_nodes, node_count, edge_count; xtc_node *nodes; xtc_edge *edges; }; xtc_result xtc_graph_order(const xtc_graph *graph, size_t *order); #endif