GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
helpers.h
Go to the documentation of this file.
1
/* LIBDGL -- a Directed Graph Library implementation
2
* Copyright (C) 2002 Roberto Micarelli
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
/*
20
* best view tabstop=4
21
*/
22
23
#ifndef _DGL_HELPERS_H_
24
#define _DGL_HELPERS_H_
25
26
#include "
tree.h
"
27
28
extern
unsigned
char
*
dgl_mempush
(
unsigned
char
*pstack,
long
*istack,
29
long
size
,
void
*pv);
30
extern
unsigned
char
*
dgl_mempop
(
unsigned
char
*pstack,
long
*istack,
31
long
size
);
32
extern
void
dgl_swapInt32Bytes
(
dglInt32_t
* pn);
33
extern
void
dgl_swapInt64Bytes
(
dglInt64_t
* pn);
34
extern
int
dgl_edge_prioritizer_del
(
dglGraph_s
* pG,
dglInt32_t
nId,
35
dglInt32_t
nPriId);
36
extern
int
dgl_edge_prioritizer_add
(
dglGraph_s
* pG,
dglInt32_t
nId,
37
dglInt32_t
nPriId);
38
extern
void
*
dgl_reduce_edgeset
(
void
*pvSet,
int
*pc,
dglInt32_t
nKey);
39
40
#endif
lib
vector
dglib
helpers.h
Generated on Thu Sep 26 2013 09:48:03 for GRASS Programmer's Manual by
1.8.4