@@ -36,53 +36,53 @@ const
3636 );
3737 { $EXTERNALSYM SDL_INIT_EVERYTHING}
3838
39+ type
40+ TSDL_Init_func = function(flags: TSDL_Init): cint; cdecl;
3941{ **
4042 * This function initializes the subsystems specified by flags
4143 * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
4244 * signal handlers for some commonly ignored fatal signals (like SIGSEGV).
4345 *}
44- type
45- TSDL_Init_func = function(flags: TSDL_Init): cint; cdecl;
4646var
4747 SDL_Init : TSDL_Init_func = Nil ;
4848
4949
50+ type
51+ TSDL_InitSubSystem_func = function(flags: TSDL_Init): cint; cdecl;
5052{ **
5153 * This function initializes specific SDL subsystems
5254 *}
53- type
54- TSDL_InitSubSystem_func = function(flags: TSDL_Init): cint; cdecl;
5555var
5656 SDL_InitSubSystem : TSDL_InitSubSystem_func = Nil ;
5757
5858
59+ type
60+ TSDL_QuitSubSystem_proc = procedure(flags: TSDL_Init); cdecl;
5961{ **
6062 * This function cleans up specific SDL subsystems
6163 *}
62- type
63- TSDL_QuitSubSystem_proc = procedure(flags: TSDL_Init); cdecl;
6464var
6565 SDL_QuitSubSystem : TSDL_QuitSubSystem_proc = Nil ;
6666
6767
68+ type
69+ TSDL_WasInit_func = function(flags: TSDL_Init): cuint32; cdecl;
6870{ **
6971 * This function returns a mask of the specified subsystems which have
7072 * previously been initialized.
7173 *
7274 * If flags is 0, it returns a mask of all initialized subsystems.
7375 *}
74- type
75- TSDL_WasInit_func = function(flags: TSDL_Init): cuint32; cdecl;
7676var
7777 SDL_WasInit : TSDL_WasInit_func = Nil ;
7878
7979
80+ type
81+ TSDL_Quit_proc = procedure(); cdecl;
8082{ **
8183 * This function cleans up all initialized subsystems. You should
8284 * call it upon all exit conditions.
8385 *}
84- type
85- TSDL_Quit_proc = procedure(); cdecl;
8686var
8787 SDL_Quit : TSDL_Quit_proc = Nil ;
8888
0 commit comments