1
0
Fork 0
forked from hanez/xtc

Phase 1 forgot some files.

This commit is contained in:
Johannes Findeisen 2026-10-26 23:20:49 +01:00
commit c0ca1ff396
2 changed files with 150 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#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