GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
v1-defs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _DGL_V1   1
 
#define DGL_SP_CACHE_INITIALIZE_FUNC   dgl_sp_cache_initialize_V1
 
#define DGL_SP_CACHE_RELEASE_FUNC   dgl_sp_cache_release_V1
 
#define DGL_SP_CACHE_REPORT_FUNC   dgl_sp_cache_report_V1
 
#define DGL_SP_CACHE_DISTANCE_FUNC   dgl_sp_cache_distance_V1
 
#define DGL_ADD_NODE_FUNC   dgl_add_node_V1
 
#define DGL_DEL_NODE_FUNC   dgl_del_node_V1
 
#define DGL_GET_NODE_FUNC   dgl_get_node_V1
 
#define DGL_GET_NODE_OUTEDGESET_FUNC   dgl_getnode_outedgeset_V1
 
#define DGL_ADD_EDGE_FUNC   dgl_add_edge_V1
 
#define DGL_GET_EDGE_FUNC   dgl_get_edge_V1
 
#define DGL_DEL_EDGE_FUNC   dgl_del_edge_V1
 
#define DGL_EDGE_T_INITIALIZE_FUNC   dgl_edge_t_initialize_V1
 
#define DGL_EDGE_T_RELEASE_FUNC   dgl_edge_t_release_V1
 
#define DGL_EDGE_T_FIRST_FUNC   dgl_edge_t_first_V1
 
#define DGL_EDGE_T_NEXT_FUNC   dgl_edge_t_next_V1
 
#define DGL_NODE_T_INITIALIZE_FUNC   dgl_node_t_initialize_V1
 
#define DGL_NODE_T_RELEASE_FUNC   dgl_node_t_release_V1
 
#define DGL_NODE_T_FIRST_FUNC   dgl_node_t_first_V1
 
#define DGL_NODE_T_NEXT_FUNC   dgl_node_t_next_V1
 
#define DGL_NODE_T_FIND_FUNC   dgl_node_t_find_V1
 
#define DGL_EDGESET_T_INITIALIZE_FUNC   dgl_edgeset_t_initialize_V1
 
#define DGL_EDGESET_T_RELEASE_FUNC   dgl_edgeset_t_release_V1
 
#define DGL_EDGESET_T_FIRST_FUNC   dgl_edgeset_t_first_V1
 
#define DGL_EDGESET_T_NEXT_FUNC   dgl_edgeset_t_next_V1
 
#define DGL_FLATTEN_FUNC   dgl_flatten_V1
 
#define DGL_UNFLATTEN_FUNC   dgl_unflatten_V1
 
#define DGL_NODE_ALLOC   DGL_NODE_ALLOC_v1
 
#define DGL_NODE_SIZEOF   DGL_NODE_SIZEOF_v1
 
#define DGL_NODE_WSIZE   DGL_NODE_WSIZE_v1
 
#define DGL_NODE_STATUS   DGL_NODE_STATUS_v1
 
#define DGL_NODE_ID   DGL_NODE_ID_v1
 
#define DGL_NODE_ATTR_PTR   DGL_NODE_ATTR_PTR_v1
 
#define DGL_NODE_EDGESET_OFFSET   DGL_NODE_EDGESET_OFFSET_v1
 
#define DGL_EDGE_ALLOC   DGL_EDGE_ALLOC_v1
 
#define DGL_EDGE_SIZEOF   DGL_EDGE_SIZEOF_v1
 
#define DGL_EDGE_WSIZE   DGL_EDGE_WSIZE_v1
 
#define DGL_EDGE_STATUS(p)   0
 
#define DGL_EDGE_COST   DGL_EDGE_COST_v1
 
#define DGL_EDGE_ID   DGL_EDGE_ID_v1
 
#define DGL_EDGE_ATTR_PTR   DGL_EDGE_ATTR_PTR_v1
 
#define DGL_EDGE_HEADNODE_OFFSET   DGL_EDGE_HEADNODE_OFFSET_v1
 
#define DGL_EDGE_TAILNODE_OFFSET   DGL_EDGE_TAILNODE_OFFSET_v1
 
#define DGL_ILA_TOARR   DGL_ILA_TOARR_v1
 
#define DGL_EDGESET_OFFSET   DGL_EDGESET_OFFSET_v1
 
#define DGL_EDGESET_EDGEARRAY_PTR   DGL_EDGESET_EDGEARRAY_PTR_v1
 
#define DGL_EDGESET_EDGECOUNT   DGL_EDGESET_EDGECOUNT_v1
 
#define DGL_EDGESET_EDGE_PTR   DGL_EDGESET_EDGE_PTR_v1
 
#define DGL_EDGESET_ALLOC   DGL_EDGESET_ALLOC_v1
 
#define DGL_EDGESET_REALLOC   DGL_EDGESET_REALLOC_v1
 
#define DGL_EDGESET_SIZEOF   DGL_EDGESET_SIZEOF_v1
 
#define DGL_EDGESET_WSIZE   DGL_EDGESET_WSIZE_v1
 
#define DGL_NODEBUFFER_SHIFT   DGL_NODEBUFFER_SHIFT_v1
 
#define DGL_NODEBUFFER_OFFSET   DGL_NODEBUFFER_OFFSET_v1
 
#define DGL_EDGEBUFFER_SHIFT   DGL_EDGEBUFFER_SHIFT_v1
 
#define DGL_EDGEBUFFER_OFFSET   DGL_EDGEBUFFER_OFFSET_v1
 
#define DGL_FOREACH_NODE   DGL_FOREACH_NODE_v1
 
#define DGL_FOREACH_EDGE   DGL_FOREACH_EDGE_v1
 
#define DGL_T_NODEITEM_TYPE   dglTreeNode_s
 
#define DGL_T_NODEITEM_NodePTR(p)   ((p)->pv)
 
#define DGL_T_NODEITEM_Set_NodePTR(p, ptr)   ((p)->pv=(ptr))
 
#define DGL_T_NODEITEM_OutEdgesetPTR(p)   ((p)->pv2)
 
#define DGL_T_NODEITEM_Set_OutEdgesetPTR(p, ptr)   ((p)->pv2=(ptr))
 
#define DGL_T_NODEITEM_InEdgesetPTR(p)   NULL
 
#define DGL_T_NODEITEM_Set_InEdgesetPTR(p, ptr)
 
#define DGL_T_NODEITEM_Compare   dglTreeNodeCompare
 
#define DGL_T_NODEITEM_Cancel   dglTreeNodeCancel
 
#define DGL_T_NODEITEM_Add   dglTreeNodeAdd
 
#define DGL_T_NODEITEM_Alloc   dglTreeNodeAlloc
 

Macro Definition Documentation

◆ _DGL_V1

#define _DGL_V1   1

Definition at line 23 of file v1-defs.h.

◆ DGL_ADD_EDGE_FUNC

#define DGL_ADD_EDGE_FUNC   dgl_add_edge_V1

Definition at line 92 of file v1-defs.h.

◆ DGL_ADD_NODE_FUNC

#define DGL_ADD_NODE_FUNC   dgl_add_node_V1

Definition at line 86 of file v1-defs.h.

◆ DGL_DEL_EDGE_FUNC

#define DGL_DEL_EDGE_FUNC   dgl_del_edge_V1

Definition at line 94 of file v1-defs.h.

◆ DGL_DEL_NODE_FUNC

#define DGL_DEL_NODE_FUNC   dgl_del_node_V1

Definition at line 87 of file v1-defs.h.

◆ DGL_EDGE_ALLOC

#define DGL_EDGE_ALLOC   DGL_EDGE_ALLOC_v1

Definition at line 132 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC().

◆ DGL_EDGE_ATTR_PTR

◆ DGL_EDGE_COST

◆ DGL_EDGE_HEADNODE_OFFSET

#define DGL_EDGE_HEADNODE_OFFSET   DGL_EDGE_HEADNODE_OFFSET_v1

◆ DGL_EDGE_ID

◆ DGL_EDGE_SIZEOF

#define DGL_EDGE_SIZEOF   DGL_EDGE_SIZEOF_v1

Definition at line 133 of file v1-defs.h.

Referenced by DGL_FLATTEN_FUNC().

◆ DGL_EDGE_STATUS

#define DGL_EDGE_STATUS (   p)    0

◆ DGL_EDGE_T_FIRST_FUNC

#define DGL_EDGE_T_FIRST_FUNC   dgl_edge_t_first_V1

Definition at line 99 of file v1-defs.h.

◆ DGL_EDGE_T_INITIALIZE_FUNC

#define DGL_EDGE_T_INITIALIZE_FUNC   dgl_edge_t_initialize_V1

Definition at line 97 of file v1-defs.h.

◆ DGL_EDGE_T_NEXT_FUNC

#define DGL_EDGE_T_NEXT_FUNC   dgl_edge_t_next_V1

Definition at line 100 of file v1-defs.h.

◆ DGL_EDGE_T_RELEASE_FUNC

#define DGL_EDGE_T_RELEASE_FUNC   dgl_edge_t_release_V1

Definition at line 98 of file v1-defs.h.

◆ DGL_EDGE_TAILNODE_OFFSET

#define DGL_EDGE_TAILNODE_OFFSET   DGL_EDGE_TAILNODE_OFFSET_v1

◆ DGL_EDGE_WSIZE

#define DGL_EDGE_WSIZE   DGL_EDGE_WSIZE_v1

Definition at line 134 of file v1-defs.h.

Referenced by DGL_GET_EDGE_FUNC().

◆ DGL_EDGEBUFFER_OFFSET

#define DGL_EDGEBUFFER_OFFSET   DGL_EDGEBUFFER_OFFSET_v1

Definition at line 159 of file v1-defs.h.

Referenced by DGL_FLATTEN_FUNC().

◆ DGL_EDGEBUFFER_SHIFT

◆ DGL_EDGESET_ALLOC

#define DGL_EDGESET_ALLOC   DGL_EDGESET_ALLOC_v1

Definition at line 149 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC().

◆ DGL_EDGESET_EDGE_PTR

#define DGL_EDGESET_EDGE_PTR   DGL_EDGESET_EDGE_PTR_v1

Definition at line 148 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC(), and DGL_EDGESET_T_NEXT_FUNC().

◆ DGL_EDGESET_EDGEARRAY_PTR

#define DGL_EDGESET_EDGEARRAY_PTR   DGL_EDGESET_EDGEARRAY_PTR_v1

Definition at line 146 of file v1-defs.h.

◆ DGL_EDGESET_EDGECOUNT

#define DGL_EDGESET_EDGECOUNT   DGL_EDGESET_EDGECOUNT_v1

Definition at line 147 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC(), DGL_FLATTEN_FUNC(), and DGL_GET_NODE_INEDGESET_FUNC().

◆ DGL_EDGESET_OFFSET

#define DGL_EDGESET_OFFSET   DGL_EDGESET_OFFSET_v1

Definition at line 145 of file v1-defs.h.

◆ DGL_EDGESET_REALLOC

#define DGL_EDGESET_REALLOC   DGL_EDGESET_REALLOC_v1

Definition at line 150 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC().

◆ DGL_EDGESET_SIZEOF

#define DGL_EDGESET_SIZEOF   DGL_EDGESET_SIZEOF_v1

Definition at line 151 of file v1-defs.h.

Referenced by DGL_FLATTEN_FUNC().

◆ DGL_EDGESET_T_FIRST_FUNC

#define DGL_EDGESET_T_FIRST_FUNC   dgl_edgeset_t_first_V1

Definition at line 108 of file v1-defs.h.

◆ DGL_EDGESET_T_INITIALIZE_FUNC

#define DGL_EDGESET_T_INITIALIZE_FUNC   dgl_edgeset_t_initialize_V1

Definition at line 106 of file v1-defs.h.

◆ DGL_EDGESET_T_NEXT_FUNC

#define DGL_EDGESET_T_NEXT_FUNC   dgl_edgeset_t_next_V1

Definition at line 109 of file v1-defs.h.

◆ DGL_EDGESET_T_RELEASE_FUNC

#define DGL_EDGESET_T_RELEASE_FUNC   dgl_edgeset_t_release_V1

Definition at line 107 of file v1-defs.h.

◆ DGL_EDGESET_WSIZE

#define DGL_EDGESET_WSIZE   DGL_EDGESET_WSIZE_v1

Definition at line 152 of file v1-defs.h.

Referenced by DGL_GET_NODE_INEDGESET_FUNC().

◆ DGL_FLATTEN_FUNC

#define DGL_FLATTEN_FUNC   dgl_flatten_V1

Definition at line 110 of file v1-defs.h.

◆ DGL_FOREACH_EDGE

#define DGL_FOREACH_EDGE   DGL_FOREACH_EDGE_v1

Definition at line 162 of file v1-defs.h.

Referenced by DGL_FLATTEN_FUNC(), and DGL_UNFLATTEN_FUNC().

◆ DGL_FOREACH_NODE

#define DGL_FOREACH_NODE   DGL_FOREACH_NODE_v1

Definition at line 161 of file v1-defs.h.

Referenced by DGL_FLATTEN_FUNC(), and DGL_UNFLATTEN_FUNC().

◆ DGL_GET_EDGE_FUNC

#define DGL_GET_EDGE_FUNC   dgl_get_edge_V1

Definition at line 93 of file v1-defs.h.

◆ DGL_GET_NODE_FUNC

#define DGL_GET_NODE_FUNC   dgl_get_node_V1

Definition at line 88 of file v1-defs.h.

◆ DGL_GET_NODE_OUTEDGESET_FUNC

#define DGL_GET_NODE_OUTEDGESET_FUNC   dgl_getnode_outedgeset_V1

Definition at line 89 of file v1-defs.h.

◆ DGL_ILA_TOARR

#define DGL_ILA_TOARR   DGL_ILA_TOARR_v1

Definition at line 144 of file v1-defs.h.

◆ DGL_NODE_ALLOC

#define DGL_NODE_ALLOC   DGL_NODE_ALLOC_v1

Definition at line 122 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC(), and DGL_ADD_NODE_FUNC().

◆ DGL_NODE_ATTR_PTR

◆ DGL_NODE_EDGESET_OFFSET

◆ DGL_NODE_ID

◆ DGL_NODE_SIZEOF

#define DGL_NODE_SIZEOF   DGL_NODE_SIZEOF_v1

Definition at line 123 of file v1-defs.h.

Referenced by DGL_ADD_NODE_FUNC(), and DGL_FLATTEN_FUNC().

◆ DGL_NODE_STATUS

◆ DGL_NODE_T_FIND_FUNC

#define DGL_NODE_T_FIND_FUNC   dgl_node_t_find_V1

Definition at line 105 of file v1-defs.h.

◆ DGL_NODE_T_FIRST_FUNC

#define DGL_NODE_T_FIRST_FUNC   dgl_node_t_first_V1

Definition at line 103 of file v1-defs.h.

◆ DGL_NODE_T_INITIALIZE_FUNC

#define DGL_NODE_T_INITIALIZE_FUNC   dgl_node_t_initialize_V1

Definition at line 101 of file v1-defs.h.

◆ DGL_NODE_T_NEXT_FUNC

#define DGL_NODE_T_NEXT_FUNC   dgl_node_t_next_V1

Definition at line 104 of file v1-defs.h.

◆ DGL_NODE_T_RELEASE_FUNC

#define DGL_NODE_T_RELEASE_FUNC   dgl_node_t_release_V1

Definition at line 102 of file v1-defs.h.

◆ DGL_NODE_WSIZE

#define DGL_NODE_WSIZE   DGL_NODE_WSIZE_v1

Definition at line 124 of file v1-defs.h.

Referenced by DGL_EDGE_T_NEXT_FUNC(), DGL_GET_NODE_FUNC(), and DGL_NODE_T_NEXT_FUNC().

◆ DGL_NODEBUFFER_OFFSET

#define DGL_NODEBUFFER_OFFSET   DGL_NODEBUFFER_OFFSET_v1

Definition at line 157 of file v1-defs.h.

Referenced by DGL_FLATTEN_FUNC().

◆ DGL_NODEBUFFER_SHIFT

#define DGL_NODEBUFFER_SHIFT   DGL_NODEBUFFER_SHIFT_v1

Definition at line 156 of file v1-defs.h.

Referenced by DGL_UNFLATTEN_FUNC().

◆ DGL_SP_CACHE_DISTANCE_FUNC

#define DGL_SP_CACHE_DISTANCE_FUNC   dgl_sp_cache_distance_V1

Definition at line 83 of file v1-defs.h.

◆ DGL_SP_CACHE_INITIALIZE_FUNC

#define DGL_SP_CACHE_INITIALIZE_FUNC   dgl_sp_cache_initialize_V1

Definition at line 80 of file v1-defs.h.

◆ DGL_SP_CACHE_RELEASE_FUNC

#define DGL_SP_CACHE_RELEASE_FUNC   dgl_sp_cache_release_V1

Definition at line 81 of file v1-defs.h.

◆ DGL_SP_CACHE_REPORT_FUNC

#define DGL_SP_CACHE_REPORT_FUNC   dgl_sp_cache_report_V1

Definition at line 82 of file v1-defs.h.

◆ DGL_T_NODEITEM_Add

#define DGL_T_NODEITEM_Add   dglTreeNodeAdd

Definition at line 177 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC(), and DGL_ADD_NODE_FUNC().

◆ DGL_T_NODEITEM_Alloc

#define DGL_T_NODEITEM_Alloc   dglTreeNodeAlloc

Definition at line 178 of file v1-defs.h.

◆ DGL_T_NODEITEM_Cancel

#define DGL_T_NODEITEM_Cancel   dglTreeNodeCancel

Definition at line 176 of file v1-defs.h.

Referenced by DGL_DEL_NODE_FUNC().

◆ DGL_T_NODEITEM_Compare

#define DGL_T_NODEITEM_Compare   dglTreeNodeCompare

Definition at line 175 of file v1-defs.h.

Referenced by DGL_UNFLATTEN_FUNC().

◆ DGL_T_NODEITEM_InEdgesetPTR

#define DGL_T_NODEITEM_InEdgesetPTR (   p)    NULL

◆ DGL_T_NODEITEM_NodePTR

◆ DGL_T_NODEITEM_OutEdgesetPTR

#define DGL_T_NODEITEM_OutEdgesetPTR (   p)    ((p)->pv2)

◆ DGL_T_NODEITEM_Set_InEdgesetPTR

#define DGL_T_NODEITEM_Set_InEdgesetPTR (   p,
  ptr 
)

Definition at line 174 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC().

◆ DGL_T_NODEITEM_Set_NodePTR

#define DGL_T_NODEITEM_Set_NodePTR (   p,
  ptr 
)    ((p)->pv=(ptr))

Definition at line 170 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC(), and DGL_ADD_NODE_FUNC().

◆ DGL_T_NODEITEM_Set_OutEdgesetPTR

#define DGL_T_NODEITEM_Set_OutEdgesetPTR (   p,
  ptr 
)    ((p)->pv2=(ptr))

Definition at line 172 of file v1-defs.h.

Referenced by DGL_ADD_EDGE_FUNC().

◆ DGL_T_NODEITEM_TYPE

◆ DGL_UNFLATTEN_FUNC

#define DGL_UNFLATTEN_FUNC   dgl_unflatten_V1

Definition at line 111 of file v1-defs.h.