From 0c2abb311d0ed43690427d41bcaee13a99181bcb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Sep 2019 09:57:30 +0200 Subject: v2.3.0 --- REFLECTION | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- php-pecl-sdl.spec | 7 ++++-- 2 files changed, 77 insertions(+), 5 deletions(-) diff --git a/REFLECTION b/REFLECTION index 289ccd7..023f727 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,6 @@ -Extension [ extension #71 SDL version 2.2.2 ] { +Extension [ extension #71 SDL version 2.3.0 ] { - - Constants [735] { + - Constants [738] { Constant [ int SDL_BLENDMODE_NONE ] { 0 } Constant [ int SDL_BLENDMODE_BLEND ] { 1 } Constant [ int SDL_BLENDMODE_ADD ] { 2 } @@ -22,6 +22,9 @@ Extension [ extension #71 SDL version 2.2.2 ] { Constant [ int SDL_MOUSEBUTTONDOWN ] { 1025 } Constant [ int SDL_MOUSEBUTTONUP ] { 1026 } Constant [ int SDL_MOUSEWHEEL ] { 1027 } + Constant [ int SDL_JOYAXISMOTION ] { 1536 } + Constant [ int SDL_JOYBUTTONDOWN ] { 1539 } + Constant [ int SDL_JOYBUTTONUP ] { 1540 } Constant [ int SDL_WINDOWEVENT_SHOWN ] { 1 } Constant [ int SDL_WINDOWEVENT_HIDDEN ] { 2 } Constant [ int SDL_WINDOWEVENT_EXPOSED ] { 3 } @@ -2233,6 +2236,54 @@ Extension [ extension #71 SDL version 2.2.2 ] { Parameter #0 [ SDL_cond $condition ] } } + Function [ function SDL_NumJoysticks ] { + + - Parameters [0] { + } + } + Function [ function SDL_JoystickOpen ] { + + - Parameters [1] { + Parameter #0 [ int $index ] + } + } + Function [ function SDL_JoystickClose ] { + + - Parameters [1] { + Parameter #0 [ SDL_Joystick $joystick ] + } + } + Function [ function SDL_JoystickNumButtons ] { + + - Parameters [1] { + Parameter #0 [ SDL_Joystick $joystick ] + } + } + Function [ function SDL_JoystickName ] { + + - Parameters [1] { + Parameter #0 [ SDL_Joystick $joystick ] + } + } + Function [ function SDL_JoystickGetAxis ] { + + - Parameters [2] { + Parameter #0 [ SDL_Joystick $joystick ] + Parameter #1 [ int $axis ] + } + } + Function [ function SDL_JoystickNameForIndex ] { + + - Parameters [1] { + Parameter #0 [ int $index ] + } + } + Function [ function SDL_IsGameController ] { + + - Parameters [1] { + Parameter #0 [ int $index ] + } + } Function [ function SDL_AllocRW ] { - Parameters [0] { @@ -2409,7 +2460,7 @@ Extension [ extension #71 SDL version 2.2.2 ] { } } - - Classes [20] { + - Classes [21] { Class [ class SDL_Event ] { - Constants [0] { @@ -4276,6 +4327,24 @@ Extension [ extension #71 SDL version 2.2.2 ] { } } } + + Class [ class SDL_Joystick ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } } } diff --git a/php-pecl-sdl.spec b/php-pecl-sdl.spec index f6cf57d..2a9eadc 100644 --- a/php-pecl-sdl.spec +++ b/php-pecl-sdl.spec @@ -14,8 +14,8 @@ Summary: Simple DirectMedia Layer for PHP Name: %{?scl_prefix}php-pecl-sdl -Version: 2.2.2 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 2.3.0 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/sdl @@ -188,6 +188,9 @@ fi %changelog +* Sun Sep 8 2019 Remi Collet - 2.3.0-1 +- update to 2.3.0 + * Tue Sep 03 2019 Remi Collet - 2.2.2-2 - rebuild for 7.4.0RC1 -- cgit