Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

_plint_type_iface Struct Reference
[VariablesGlobal Types]

the variables' type interface. More...

#include <variable.h>


Data Fields

void(* neu )(plint_var_t VARIABLE)
 called after a new variable was created.

void(* cpy )(plint_ref_t DESTINATION, plint_var_t SOURCE)
 assign to DESTINATION the copy of SOURCE.

void(* fre )(plint_var_const_t CONST_VARIABLE)
 called before the CONST_VARIABLE variable is about to be freed.

void(* idx )(plint_mem_t *PMEMORY, plint_ref_t *PREFERENCE, int INDEX)
 index the reference *PREFERENCE [in/out] with the integer INDEX, storing in it the result and its memory in *PMEMORY [out].

void(* fld )(plint_mem_t *PMEMORY, plint_ref_t *PREFERENCE, plint_str_t FIELD)
 subfield the reference REFERENCE [in/out] with the identifier FIELD, storing in it the result and its memory in *PMEMORY [out].

void(* key )(plint_mem_t *PMEMORY, plint_ref_t *REFERENCE, plint_val_t *PVALUE, plint_typ_t TYPE)
 generally index the reference REFERENCE [in/out] with a general value index strored in PVALUE, having type TYPE, storing in it the result and its memory in *PMEMORY [out].

void(* get )(plint_idx_t *PINDEX)
 called from plint_ref_idx; return the next index through PINDEX [out].


Detailed Description

the variables' type interface.

the type interface is a collection of callback functions called from various key-points

Remarks:
a type structure of a variable must have at least these members at zero offset in the structure

Definition at line 47 of file variable.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jan 9 19:03:03 2003 for plint by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002