mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 10:44:59 +00:00 
			
		
		
		
	dynapi: replace uses of deprecated SDL_assert_state and SDL_assert_data
This commit is contained in:
		
							parent
							
								
									46945354cc
								
							
						
					
					
						commit
						fd4bb4154b
					
				| 
						 | 
				
			
			@ -90,9 +90,9 @@ SDL_DYNAPI_PROC(int,SDL_InitSubSystem,(Uint32 a),(a),return)
 | 
			
		|||
SDL_DYNAPI_PROC(void,SDL_QuitSubSystem,(Uint32 a),(a),)
 | 
			
		||||
SDL_DYNAPI_PROC(Uint32,SDL_WasInit,(Uint32 a),(a),return)
 | 
			
		||||
SDL_DYNAPI_PROC(void,SDL_Quit,(void),(),)
 | 
			
		||||
SDL_DYNAPI_PROC(SDL_assert_state,SDL_ReportAssertion,(SDL_assert_data *a, const char *b, const char *c, int d),(a,b,c,d),return)
 | 
			
		||||
SDL_DYNAPI_PROC(SDL_AssertState,SDL_ReportAssertion,(SDL_AssertData *a, const char *b, const char *c, int d),(a,b,c,d),return)
 | 
			
		||||
SDL_DYNAPI_PROC(void,SDL_SetAssertionHandler,(SDL_AssertionHandler a, void *b),(a,b),)
 | 
			
		||||
SDL_DYNAPI_PROC(const SDL_assert_data*,SDL_GetAssertionReport,(void),(),return)
 | 
			
		||||
SDL_DYNAPI_PROC(const SDL_AssertData*,SDL_GetAssertionReport,(void),(),return)
 | 
			
		||||
SDL_DYNAPI_PROC(void,SDL_ResetAssertionReport,(void),(),)
 | 
			
		||||
SDL_DYNAPI_PROC(SDL_bool,SDL_AtomicTryLock,(SDL_SpinLock *a),(a),return)
 | 
			
		||||
SDL_DYNAPI_PROC(void,SDL_AtomicLock,(SDL_SpinLock *a),(a),)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -142,6 +142,7 @@ while (my $d = readdir(HEADERS)) {
 | 
			
		|||
    }
 | 
			
		||||
    close(HEADER);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
closedir(HEADERS);
 | 
			
		||||
 | 
			
		||||
close(SDL_DYNAPI_PROCS_H);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue