1
0
Fork 0
forked from hanez/xtc
xtc/src/graph/graph_internal.h
2026-10-26 23:20:49 +01:00

14 lines
453 B
C

#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