add SDL_log10 and SDL_log10f to include and dynapi
authorsezero <sezero@users.sourceforge.net>
Thu, 08 Feb 2018 17:07:47 +0300
changeset 11856713fd3ac3c9b
parent 11855 7b4cee950f96
child 11857 9e521a040926
add SDL_log10 and SDL_log10f to include and dynapi
include/SDL_stdinc.h
src/dynapi/SDL_dynapi_overrides.h
src/dynapi/SDL_dynapi_procs.h
     1.1 --- a/include/SDL_stdinc.h	Wed Feb 07 15:10:50 2018 -0800
     1.2 +++ b/include/SDL_stdinc.h	Thu Feb 08 17:07:47 2018 +0300
     1.3 @@ -522,6 +522,8 @@
     1.4  extern DECLSPEC float SDLCALL SDL_fmodf(float x, float y);
     1.5  extern DECLSPEC double SDLCALL SDL_log(double x);
     1.6  extern DECLSPEC float SDLCALL SDL_logf(float x);
     1.7 +extern DECLSPEC double SDLCALL SDL_log10(double x);
     1.8 +extern DECLSPEC float SDLCALL SDL_log10f(float x);
     1.9  extern DECLSPEC double SDLCALL SDL_pow(double x, double y);
    1.10  extern DECLSPEC float SDLCALL SDL_powf(float x, float y);
    1.11  extern DECLSPEC double SDLCALL SDL_scalbn(double x, int n);
     2.1 --- a/src/dynapi/SDL_dynapi_overrides.h	Wed Feb 07 15:10:50 2018 -0800
     2.2 +++ b/src/dynapi/SDL_dynapi_overrides.h	Thu Feb 08 17:07:47 2018 +0300
     2.3 @@ -667,3 +667,5 @@
     2.4  #define SDL_RenderGetMetalCommandEncoder SDL_RenderGetMetalCommandEncoder_REAL
     2.5  #define SDL_IsAndroidTV SDL_IsAndroidTV_REAL
     2.6  #define SDL_WinRTGetDeviceFamily SDL_WinRTGetDeviceFamily_REAL
     2.7 +#define SDL_log10 SDL_log10_REAL
     2.8 +#define SDL_log10f SDL_log10f_REAL
     3.1 --- a/src/dynapi/SDL_dynapi_procs.h	Wed Feb 07 15:10:50 2018 -0800
     3.2 +++ b/src/dynapi/SDL_dynapi_procs.h	Thu Feb 08 17:07:47 2018 +0300
     3.3 @@ -705,3 +705,5 @@
     3.4  #ifdef __ANDROID__
     3.5  SDL_DYNAPI_PROC(SDL_bool,SDL_IsAndroidTV,(void),(),return)
     3.6  #endif
     3.7 +SDL_DYNAPI_PROC(double,SDL_log10,(double a),(a),return)
     3.8 +SDL_DYNAPI_PROC(float,SDL_log10f,(float a),(a),return)