[Commits] SDL: add SDL_log10 and SDL_log10f to include and dynapi

libsdl.org revision control commits-owner at libsdl.org
Thu Feb 8 12:52:54 PST 2018


details:   https://hg.libsdl.org/SDL/rev/713fd3ac3c9b
changeset: 11856:713fd3ac3c9b
user:      sezero <sezero at users.sourceforge.net>
date:      Thu Feb 08 17:07:47 2018 +0300
description:
add SDL_log10 and SDL_log10f to include and dynapi

diffstat:

 include/SDL_stdinc.h              |  2 ++
 src/dynapi/SDL_dynapi_overrides.h |  2 ++
 src/dynapi/SDL_dynapi_procs.h     |  2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)

diffs (30 lines):

diff -r 7b4cee950f96 -r 713fd3ac3c9b include/SDL_stdinc.h
--- a/include/SDL_stdinc.h	Wed Feb 07 15:10:50 2018 -0800
+++ b/include/SDL_stdinc.h	Thu Feb 08 17:07:47 2018 +0300
@@ -522,6 +522,8 @@
 extern DECLSPEC float SDLCALL SDL_fmodf(float x, float y);
 extern DECLSPEC double SDLCALL SDL_log(double x);
 extern DECLSPEC float SDLCALL SDL_logf(float x);
+extern DECLSPEC double SDLCALL SDL_log10(double x);
+extern DECLSPEC float SDLCALL SDL_log10f(float x);
 extern DECLSPEC double SDLCALL SDL_pow(double x, double y);
 extern DECLSPEC float SDLCALL SDL_powf(float x, float y);
 extern DECLSPEC double SDLCALL SDL_scalbn(double x, int n);
diff -r 7b4cee950f96 -r 713fd3ac3c9b src/dynapi/SDL_dynapi_overrides.h
--- a/src/dynapi/SDL_dynapi_overrides.h	Wed Feb 07 15:10:50 2018 -0800
+++ b/src/dynapi/SDL_dynapi_overrides.h	Thu Feb 08 17:07:47 2018 +0300
@@ -667,3 +667,5 @@
 #define SDL_RenderGetMetalCommandEncoder SDL_RenderGetMetalCommandEncoder_REAL
 #define SDL_IsAndroidTV SDL_IsAndroidTV_REAL
 #define SDL_WinRTGetDeviceFamily SDL_WinRTGetDeviceFamily_REAL
+#define SDL_log10 SDL_log10_REAL
+#define SDL_log10f SDL_log10f_REAL
diff -r 7b4cee950f96 -r 713fd3ac3c9b src/dynapi/SDL_dynapi_procs.h
--- a/src/dynapi/SDL_dynapi_procs.h	Wed Feb 07 15:10:50 2018 -0800
+++ b/src/dynapi/SDL_dynapi_procs.h	Thu Feb 08 17:07:47 2018 +0300
@@ -705,3 +705,5 @@
 #ifdef __ANDROID__
 SDL_DYNAPI_PROC(SDL_bool,SDL_IsAndroidTV,(void),(),return)
 #endif
+SDL_DYNAPI_PROC(double,SDL_log10,(double a),(a),return)
+SDL_DYNAPI_PROC(float,SDL_log10f,(float a),(a),return)


More information about the commits mailing list