Error Handling
Introduction 介绍
Functions in this category provide simple error message routines for SDL. 本分类中的函数提供了一个简单的SDL错误信息处理函数 SDL_GetError can be called for almost all SDL functions to determine what problems are occurring. SDL_GetError 可以在大多数的SDL函数中调用,用来提示错误。 Check the wiki page of each specific SDL function to see whether SDL_GetError is meaningful for them or not. 在一些函数调用失败的时候,SDL_GetError可以提供详细的错误信息。 The SDL error messages are in English. 提示的错误信息是英文的。
Functions 函数
SDL_ClearError
SDL_GetError
SDL_SetError
@DXkite Translated.