~ubuntu-branches/ubuntu/trusty/libsdl2/trusty-proposed

« back to all changes in this revision

Viewing changes to include/SDL_error.h

  • Committer: Package Import Robot
  • Author(s): Manuel A. Fernandez Montecelo
  • Date: 2013-12-28 12:31:19 UTC
  • mto: (7.1.3 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: package-import@ubuntu.com-20131228123119-wehupm72qsjvh6vz
Tags: upstream-2.0.1+dfsg1
ImportĀ upstreamĀ versionĀ 2.0.1+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 *  \internal
49
49
 *  Private error reporting function - used internally.
50
50
 */
51
 
/*@{*/
 
51
/* @{ */
52
52
#define SDL_OutOfMemory()   SDL_Error(SDL_ENOMEM)
53
53
#define SDL_Unsupported()   SDL_Error(SDL_UNSUPPORTED)
54
54
#define SDL_InvalidParamError(param)    SDL_SetError("Parameter '%s' is invalid", (param))
63
63
} SDL_errorcode;
64
64
/* SDL_Error() unconditionally returns -1. */
65
65
extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code);
66
 
/*@}*//*Internal error functions*/
 
66
/* @} *//* Internal error functions */
67
67
 
68
68
/* Ends C function definitions when using C++ */
69
69
#ifdef __cplusplus