summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-08-03 06:43:24 +0200
committerRemi Collet <remi@php.net>2022-08-03 06:43:24 +0200
commitaba547350d127dc7fb13d3cf4ed5406bda9aa9ca (patch)
treefac7a02e405fec6ccb83e9465202e62bd7567d1e
parent184ca2e43098bcd209415f23d8cba26c7ac24679 (diff)
update to 0.3.0
-rw-r--r--Makefile4
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION27
-rw-r--r--php-pecl-sdl-ttf.spec7
4 files changed, 34 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 9e525a3..f7cc2eb 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/PHPINFO b/PHPINFO
index a6765c9..01e9f47 100644
--- a/PHPINFO
+++ b/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
diff --git a/REFLECTION b/REFLECTION
index ca4a4f9..a4461d9 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -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