EDCS Reference Manual
Functions
EDCS LabelToEECode
extern EDCS_Status_Code
EDCS_LabelToEECode
(
const EDCS_Enumerant_Label  ee_label_in_ptr,1
EDCS_Attribute_Code  *ea_out_ptr,2
EDCS_Enumerant_Code  *ee_out_ptr3
);

Definition

Retrieves the {EA, EE} code pair corresponding to the given label.


Returns

EDCS_SC_SUCCESS and *ea_out_ptr, *ee_out_ptr are set to the appropriate values, if valid parameters were passed in.
EDCS_SC_NULL_REQUIRED_PARAMETER and no changes are made, if any parameter is NULL.
EDCS_SC_INVALID_INPUT_LABEL and no changes are made, if *ee_label_in_ptr does not correspond to a valid EE for some EA.

Parameters Notes

1 the label for which the corresponding EE code is requested; note that this is the language-binding label, rather than the abstract label (i.e., corresponds to the C language binding standard rather than the abstract EDCS specification)

2 pointer to a variable in the user's memory into which the output EAC will be copied

3 pointer to a variable in the user's memory into which the output EEC will be copied


Prev: EDCS_LabelToECCode. Next: EDCS_LabelToEGCode. Up:Index.