PGROUTING  2.6
arrays_input.h File Reference
#include <stdint.h>
#include <postgres.h>
#include "utils/array.h"
Include dependency graph for arrays_input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int64_t * pgr_get_bigIntArray (size_t *arrlen, ArrayType *input)
 enforces the input array to be NOT empty More...
 
int64_t * pgr_get_bigIntArray_allowEmpty (size_t *arrlen, ArrayType *input)
 Allows the input array to be empty. More...
 

Function Documentation

int64_t* pgr_get_bigIntArray ( size_t *  arrlen,
ArrayType *  input 
)

enforces the input array to be NOT empty

Definition at line 124 of file arrays_input.c.

References pgr_get_bigIntArr().

Referenced by compute_trsp(), pgr_SPI_getBigIntArr(), and process().

124  {
125  return pgr_get_bigIntArr(input, arrlen, false);
126 }
static int64_t * pgr_get_bigIntArr(ArrayType *v, size_t *arrlen, bool allow_empty)
Definition: arrays_input.c:37

Here is the call graph for this function:

Here is the caller graph for this function:

int64_t* pgr_get_bigIntArray_allowEmpty ( size_t *  arrlen,
ArrayType *  input 
)

Allows the input array to be empty.

Definition at line 130 of file arrays_input.c.

References pgr_get_bigIntArr().

Referenced by process().

130  {
131  return pgr_get_bigIntArr(input, arrlen, true);
132 }
static int64_t * pgr_get_bigIntArr(ArrayType *v, size_t *arrlen, bool allow_empty)
Definition: arrays_input.c:37

Here is the call graph for this function:

Here is the caller graph for this function: