Phase 1 forgot some files.
This commit is contained in:
parent
8075e1b79d
commit
c0ca1ff396
2 changed files with 150 additions and 0 deletions
14
src/graph/graph_internal.h
Normal file
14
src/graph/graph_internal.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue