Wild Life
2.29
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
templates.c
Go to the documentation of this file.
1
6
/* Copyright 1991 Digital Equipment Corporation.
7
* All Rights Reserved.
8
*****************************************************************/
9
10
#include "
defs.h
"
11
12
/******** next things have to be defined in a header file */
13
25
long
get_arg
(
ptr_psi_term
g,
ptr_psi_term
*arg,
char
*number)
26
{
27
ptr_node
n;
28
29
if
((n =
find
(
FEATCMP
, number, g->
attr_list
)))
30
return
(*arg = (
ptr_psi_term
) n->
data
) ?
TRUE
:
FALSE
;
31
else
32
return
FALSE
;
33
}
FEATCMP
#define FEATCMP
Definition:
def_const.h:257
defs.h
wl_psi_term
Definition:
def_struct.h:161
wl_node::data
GENERIC data
Definition:
def_struct.h:185
get_arg
long get_arg(ptr_psi_term g, ptr_psi_term *arg, char *number)
get_arg
Definition:
templates.c:25
TRUE
#define TRUE
Definition:
def_const.h:127
FALSE
#define FALSE
Definition:
def_const.h:128
find
ptr_node find(long comp, char *keystr, ptr_node tree)
find
Definition:
trees.c:394
wl_node
Definition:
def_struct.h:181
wl_psi_term::attr_list
ptr_node attr_list
Definition:
def_struct.h:171
Generated on Mon Dec 12 2016 01:15:52 for Wild Life by
1.8.6