Wild Life
2.30
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
indicates to use featcmp for comparison (in trees.c)
Definition:
def_const.h:979
defs.h
includes
wl_psi_term
Definition:
def_struct.h:177
wl_node::data
GENERIC data
Definition:
def_struct.h:201
get_arg
long get_arg(ptr_psi_term g, ptr_psi_term *arg, char *number)
get_arg
Definition:
templates.c:25
TRUE
#define TRUE
Standard boolean.
Definition:
def_const.h:268
FALSE
#define FALSE
Standard boolean.
Definition:
def_const.h:275
find
ptr_node find(long comp, char *keystr, ptr_node tree)
find
Definition:
trees.c:394
wl_node
Definition:
def_struct.h:197
wl_psi_term::attr_list
ptr_node attr_list
Definition:
def_struct.h:187
Generated on Thu Dec 22 2016 20:59:54 for Wild Life by
1.8.6