GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-602118adcc
helpers.c File Reference
#include <stdlib.h>
#include <string.h>
#include "type.h"
#include "tree.h"
#include "graph.h"
#include "helpers.h"
Include dependency graph for helpers.c:

Go to the source code of this file.

Functions

unsigned char * dgl_mempush (unsigned char *pstack, long *istack, long size, void *pv)
 
unsigned char * dgl_mempop (unsigned char *pstack, long *istack, long size)
 
void dgl_swapInt32Bytes (dglInt32_t *pn)
 
void dgl_swapInt64Bytes (dglInt64_t *pn)
 
int dgl_edge_prioritizer_del (dglGraph_s *pG, dglInt32_t nId, dglInt32_t nPriId)
 
int dgl_edge_prioritizer_add (dglGraph_s *pG, dglInt32_t nId, dglInt32_t nPriId)
 

Function Documentation

◆ dgl_edge_prioritizer_add()

◆ dgl_edge_prioritizer_del()

◆ dgl_mempop()

unsigned char* dgl_mempop ( unsigned char *  pstack,
long *  istack,
long  size 
)

Definition at line 47 of file helpers.c.

References NULL.

Referenced by DGL_SPAN_DEPTHFIRST_SPANNING_FUNC().

◆ dgl_mempush()

unsigned char* dgl_mempush ( unsigned char *  pstack,
long *  istack,
long  size,
void *  pv 
)

Definition at line 34 of file helpers.c.

References NULL.

Referenced by DGL_SPAN_DEPTHFIRST_SPANNING_FUNC().

◆ dgl_swapInt32Bytes()

void dgl_swapInt32Bytes ( dglInt32_t pn)

Definition at line 54 of file helpers.c.

Referenced by dgl_read_V1(), and dgl_read_V2().

◆ dgl_swapInt64Bytes()

void dgl_swapInt64Bytes ( dglInt64_t pn)

Definition at line 67 of file helpers.c.

Referenced by dgl_read_V1(), and dgl_read_V2().