File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ extern fn SDL_Init(flags: InitFlags) i32;
52
52
pub const quit = SDL_Quit ;
53
53
extern fn SDL_Quit () void ;
54
54
55
+ pub const setMainReady = SDL_SetMainReady ;
56
+ extern fn SDL_SetMainReady () void ;
57
+
55
58
//--------------------------------------------------------------------------------------------------
56
59
//
57
60
// Configuration Variables
@@ -64,6 +67,11 @@ pub fn setHint(name: [:0]const u8, value: [:0]const u8) bool {
64
67
}
65
68
extern fn SDL_SetHint (name : [* :0 ]const u8 , value : [* :0 ]const u8 ) Bool ;
66
69
70
+ pub fn setAppMetadata (name : [:0 ]const u8 , version : [:0 ]const u8 , identifier : [:0 ]const u8 ) bool {
71
+ return SDL_SetAppMetadata (name , version , identifier ) == True ;
72
+ }
73
+ extern fn SDL_SetAppMetadata (appname : [* :0 ]const u8 , appversion : [* :0 ]const u8 , appidentifier : [* :0 ]const u8 ) Bool ;
74
+
67
75
//--------------------------------------------------------------------------------------------------
68
76
//
69
77
// Error Handling
You can’t perform that action at this time.
0 commit comments