1 Star 0 Fork 0

只要998/SDL2-for-LONS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
SDL_error_c.h 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
只要998 提交于 2021-10-27 21:11 . 升级到2.0.16
/*
Simple DirectMedia Layer
Copyright (C) 1997-2021 Sam Lantinga <[email protected]>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "./SDL_internal.h"
/* This file defines a structure that carries language-independent
error messages
*/
#ifndef SDL_error_c_h_
#define SDL_error_c_h_
#define ERR_MAX_STRLEN 128
typedef struct SDL_error
{
int error; /* This is a numeric value corresponding to the current error */
char str[ERR_MAX_STRLEN];
} SDL_error;
/* Defined in SDL_thread.c */
extern SDL_error *SDL_GetErrBuf(void);
#endif /* SDL_error_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/only998/sdl2-for-lons.git
[email protected]:only998/sdl2-for-lons.git
only998
sdl2-for-lons
SDL2-for-LONS
master

搜索帮助