Data Structures |
|
struct | RwError |
Functions |
|
RwError * | RwErrorSet (RwError *code) |
RwError * | RwErrorGet (RwError *code) |
This object provides a generic error reporting mechanism.
If a function fails for any reason, it uses RwErrorSet to set the error code to a predetermined value (usually a constant defined in a header file), so that the calling function can determine what the problem is using RwErrorGet.
|
RwErrorGet is used to retrieve the error code for the last reported error. The error code identifies both the numerical value of the error and the plugin that issued it. The error code is reset to E_RW_NOERROR once it has been read. This function is available in both debug and release versions of the RenderWare library. In a debug library an error message is also written to the debug stream when an error is raised.
|
|
RwErrorSet is used to set the error code. The error code identifies both the numerical value of the error and the plugin that issued it. The error code is reset to E_RW_NOERROR once it has been read. This function is available in both debug and release versions of the RenderWare library. In a debug library an error message is also written to the debug stream when an error is raised.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |