GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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

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

Definition at line 48 of file helpers.c.

References NULL.

Referenced by DGL_SPAN_DEPTHFIRST_SPANNING_FUNC().

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

Definition at line 35 of file helpers.c.

References NULL.

Referenced by DGL_SPAN_DEPTHFIRST_SPANNING_FUNC().

void dgl_swapInt32Bytes ( dglInt32_t pn)

Definition at line 55 of file helpers.c.

Referenced by dgl_read_V1(), dgl_read_V2(), and dglReadChunk().

void dgl_swapInt64Bytes ( dglInt64_t pn)

Definition at line 68 of file helpers.c.

Referenced by dgl_read_V1(), dgl_read_V2(), and dglReadChunk().