This structure returns information about warnings and errors returned by the allocations functions. This information is used by the calling function to determine which argument has an error and on which line number and token it occurs. Only some warnings or errors will generate an error structure. The messageNumber indicates which structure goes with which message. If more than one message has the same number, then the corresponding error structures (if any) will be in the same order in which the messages were given.
typedef struct ESS_PERF_ALLOC_ERROR_T { struct ESS_PERF_ALLOC_ERROR_T *nextError; ESS_ULONG_T messageNumber; ESS_PERF_ALLOC_ARG_T argument; ESS_ULONG_T lineNumber; ESS_CHAR_T token[8192]; } ESS_PERF_ALLOC_ERROR_T;
Data Type | Field | Description |
---|---|---|
ESS_PERF_ALLOC_ERROR_T | nextError | Pointer to the next error structure, if any |
ESS_ULONG_T | messageNumber | The number of the corresponding error or warning message |
ESS_PERF_ALLOC_ARG_T | argument | Indicates which parameter contains the error |
ESS_ULONG_T | lineNumber | Indicates which line of the argument contains the error. If zero, this is not applicable. |
ESS_CHAR_T | token | Indicates which part of the argument contains a parsing error; empty if not applicable |