source: vis_dev/glu-2.3/src/graph/graph_int.h @ 102

Last change on this file since 102 was 13, checked in by cecile, 13 years ago

library glu 2.3

File size: 643 bytes
Line 
1#include "util.h"
2#include "list.h"
3#include "array.h"
4#include "st.h"
5#include "graph.h"
6
7typedef struct graph_struct_int {
8        gGeneric user_data;
9        lsList v_list;
10        lsList e_list;
11} graph_t_int;
12
13typedef struct vertex_struct_int {
14        gGeneric user_data;
15        graph_t_int *g;
16        lsList in_list;
17        lsList out_list;
18        int id;
19        lsHandle handle;        /* for quick deletion in the graph v_list */
20} vertex_t_int;
21
22typedef struct edge_struct_int {
23        gGeneric user_data;
24        vertex_t_int *from;
25        vertex_t_int *to;
26        int id;
27        lsHandle handle;        /* for quick deletion in the graph e_list */
28} edge_t_int;
29
30EXTERN void del_from_list(lsList, lsGeneric);
31extern int g_unique_id; 
Note: See TracBrowser for help on using the repository browser.