diff options
author | Remi Collet <remi@remirepo.net> | 2022-08-03 06:43:24 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-08-03 06:43:24 +0200 |
commit | aba547350d127dc7fb13d3cf4ed5406bda9aa9ca (patch) | |
tree | fac7a02e405fec6ccb83e9465202e62bd7567d1e | |
parent | 184ca2e43098bcd209415f23d8cba26c7ac24679 (diff) |
update to 0.3.0
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | PHPINFO | 2 | ||||
-rw-r--r-- | REFLECTION | 27 | ||||
-rw-r--r-- | php-pecl-sdl-ttf.spec | 7 |
4 files changed, 34 insertions, 6 deletions
@@ -3,6 +3,6 @@ NAME := $(shell basename $(SRCDIR)) include ../../../common/Makefile refl: - php -d extension=sdl -d extension=sdl_mixer --re sdl_mixer >REFLECTION - php -d extension=sdl -d extension=sdl_mixer --ri sdl_mixer >PHPINFO + php -d extension=sdl -d extension=sdl_ttf --re sdl_ttf >REFLECTION + php -d extension=sdl -d extension=sdl_ttf --ri sdl_ttf >PHPINFO @@ -2,5 +2,5 @@ sdl_ttf SDL_ttf support => enabled -SDL_ttf PHP extension version => 0.2.0 +SDL_ttf PHP extension version => 0.3.0 SDL_ttf linked version => 2.0.15 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #121 sdl_ttf version 0.2.0 ] { +Extension [ <persistent> extension #120 sdl_ttf version 0.3.0 ] { - Dependencies { Dependency [ sdl (Required) ] @@ -11,6 +11,12 @@ Extension [ <persistent> extension #121 sdl_ttf version 0.2.0 ] { } - Return [ int ] } + Function [ <internal:sdl_ttf> function TTF_WasInit ] { + + - Parameters [0] { + } + - Return [ int ] + } Function [ <internal:sdl_ttf> function TTF_Quit ] { - Parameters [0] { @@ -41,6 +47,25 @@ Extension [ <persistent> extension #121 sdl_ttf version 0.2.0 ] { } - Return [ SDL_Surface ] } + Function [ <internal:sdl_ttf> function TTF_RenderText_Blended ] { + + - Parameters [3] { + Parameter #0 [ <required> TTF_Font $font ] + Parameter #1 [ <required> string $text ] + Parameter #2 [ <required> SDL_Color $color ] + } + - Return [ SDL_Surface ] + } + Function [ <internal:sdl_ttf> function TTF_RenderText_Shaded ] { + + - Parameters [4] { + Parameter #0 [ <required> TTF_Font $font ] + Parameter #1 [ <required> string $text ] + Parameter #2 [ <required> SDL_Color $color ] + Parameter #3 [ <required> SDL_Color $backgroundColor ] + } + - Return [ SDL_Surface ] + } } - Classes [1] { diff --git a/php-pecl-sdl-ttf.spec b/php-pecl-sdl-ttf.spec index 0f978ff..f3a43e6 100644 --- a/php-pecl-sdl-ttf.spec +++ b/php-pecl-sdl-ttf.spec @@ -19,7 +19,7 @@ %global pecl_name sdl_ttf # no ini file (loaded by phpsdl helper) -%global upstream_version 0.2.0 +%global upstream_version 0.3.0 #global upstream_prever RC1 Summary: SDL_ttf bindings for PHP @@ -175,7 +175,7 @@ fi %files %{?_licensedir:%license NTS/LICENSE} -#doc %%{pecl_docdir}/%%{pecl_name} +%doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml %{php_extdir}/%{pecl_name}.so @@ -186,6 +186,9 @@ fi %changelog +* Wed Aug 3 2022 Remi Collet <remi@remirepo.net> - 0.3.0-1 +- update to 0.3.0 + * Mon Jul 25 2022 Remi Collet <remi@remirepo.net> - 0.2.0-1 - initial package - open https://github.com/Ponup/php-sdl-ttf/pull/1 fix dependencies |