| ||||||||||||
rsGetLastErrorReturns a string describing the most recent error. Syntaxconst char *rsGetLastError(RsHandle *h); Parameters
Return ValuePointer to a string describing the most recent error message. A NULL value
is returned if no error has occurred so far. Reactis allocates and releases
the memory needed for the string. The pointer is only valid until the next
call to any other API function.
rsGetNextWarningReturns a string describing the next unread warning. Syntaxconst char * rsGetNextWarning(RsHandle *h); Parameters
Return ValuePointer to a string describing the next unread warning message. A NULL value
is returned if no warning has occurred so far. Reactis allocates and releases
the memory needed for the string. The pointer is only valid until the next
call to rsGetNextWarning.
rsGetNumWarningsReturns the number of unread warnings. Syntaxint rsGetNumWarnings(RsHandle *h); Parameters
Return ValueNumber of unread warnings received during execution of Reactis API functions.
rsClearWarningsClears all currently stored warnings. Syntaxvoid rsClearWarnings(RsHandle *h); Parameters
Description
rsSetMaxNumWarningsSets the maximum number of warnings stored. Syntaxvoid rsSetMaxNumWarnings(RsHandle *h, int n); Parameters
Description
If the maximum number is set to 0, then no warnings will be stored. Calls to rsGetNextWarning will still return a message showing the number of warnings that were produced (and dropped). If the maximum number is set to -1, then all warnings will be stored. Note that in some cases this can lead to excessive memory usage. Default setting is to store 200 warnings.
| ||||||||||||