Added SDL_rand_float and SDL_rand_n to API
This commit is contained in:
committed by
Sam Lantinga
parent
f4ee59a1a2
commit
83d21e20df
@@ -981,6 +981,8 @@
|
||||
#define SDL_qsort SDL_qsort_REAL
|
||||
#define SDL_qsort_r SDL_qsort_r_REAL
|
||||
#define SDL_rand SDL_rand_REAL
|
||||
#define SDL_rand_float SDL_rand_float_REAL
|
||||
#define SDL_rand_n SDL_rand_n_REAL
|
||||
#define SDL_rand_r SDL_rand_r_REAL
|
||||
#define SDL_realloc SDL_realloc_REAL
|
||||
#define SDL_round SDL_round_REAL
|
||||
|
||||
@@ -990,6 +990,8 @@ SDL_DYNAPI_PROC(float,SDL_powf,(float a, float b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_qsort,(void *a, size_t b, size_t c, SDL_CompareCallback d),(a,b,c,d),)
|
||||
SDL_DYNAPI_PROC(void,SDL_qsort_r,(void *a, size_t b, size_t c, SDL_CompareCallback_r d, void *e),(a,b,c,d,e),)
|
||||
SDL_DYNAPI_PROC(Uint32,SDL_rand,(void),(),return)
|
||||
SDL_DYNAPI_PROC(float,SDL_rand_float,(void),(),return)
|
||||
SDL_DYNAPI_PROC(Uint32,SDL_rand_n,(Uint32 a),(a),return)
|
||||
SDL_DYNAPI_PROC(Uint32,SDL_rand_r,(Uint64 *a),(a),return)
|
||||
SDL_DYNAPI_PROC(void*,SDL_realloc,(void *a, size_t b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(double,SDL_round,(double a),(a),return)
|
||||
|
||||
Reference in New Issue
Block a user