Changeset 3090
- Timestamp:
- Oct 24, 2008, 9:39:13 PM (14 years ago)
- Location:
- libpipi/trunk/pipi-php
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/pipi-php/config.m4
r3069 r3090 3 3 4 4 if test "$PHP_PIPI" = "yes"; then 5 PHP_NEW_EXTENSION(pipi, php_pipi.c, $ext_shared) 6 PHP_SUBST(PIPI_SHARED_LIBADD) 7 AC_DEFINE(HAVE_PIPI, 1, [Whether you have Libpipi Ext]) 8 PIPI_INCDIR=$PHP_PIPI/include 9 PIPI_LIBDIR=$PHP_PIPI/lib 10 PHP_ADD_LIBRARY_WITH_PATH(pipi, $PIPI_LIBDIR, PIPI_SHARED_LIBADD) 11 PHP_ADD_INCLUDE($PIPI_INCDIR) 12 fi 13 5 AC_CHECK_LIB(pipi, pipi_get_version, [ 6 PHP_ADD_LIBRARY(pipi,, PIPI_SHARED_LIBADD) 7 ], [ 8 AC_MSG_ERROR(libpipi required !) 9 ]) 10 PHP_NEW_EXTENSION(pipi, php_pipi.c, $ext_shared,,) 11 PHP_SUBST(PIPI_SHARED_LIBADD) 12 fi -
libpipi/trunk/pipi-php/examples/example1.php
r3087 r3090 1 1 <? 2 //print_r(pipi_get_command_list());3 echo PIPI_COLOR_Y;4 5 2 $img = pipi_load_stock("random:128x128"); 6 3 $img = pipi_gaussian_blur($img, 10); -
libpipi/trunk/pipi-php/package.xml
r3069 r3090 15 15 </maintainers> 16 16 <release> 17 <version>0. 1</version>17 <version>0.0</version> 18 18 <date>2008-10-15</date> 19 <license> GPL</license>19 <license>WTFPL</license> 20 20 <state>alpha</state> 21 <notes>See 21 <notes>See included ChangeLog for details... 22 22 </notes> 23 23 <deps> 24 <dep type="php" rel="ge" version=" 4.0.0"/>24 <dep type="php" rel="ge" version="5.0.0"/> 25 25 </deps> 26 26 <filelist> 27 27 <file role="data" name="examples/example1.php"/> 28 28 <file role="src" name="config.m4"/> 29 <file role="data" name="COPYING"/>30 <file role="data" name="EXPERIMENTAL"/>31 29 <file role="src" name="php_pipi.c"/> 32 30 <file role="src" name="php_pipi.h"/> 33 <file role="data" name="README"/>34 <file role="data" name="ChangeLog"/>35 31 </filelist> 36 32 </release> -
libpipi/trunk/pipi-php/php_pipi.c
r3087 r3090 125 125 126 126 127 //--------PIPI'S RESSOURCES ---------//127 //--------PIPI'S RESSOURCES DESTRUCTORS---------// 128 128 129 129 static void php_pipi_image_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) { … … 138 138 pipi_free_histogram(rsrc->ptr); 139 139 } 140 141 142 //--------INITIALIZATION---------// 140 143 141 144 PHP_MINIT_FUNCTION(pipi) {
Note: See TracChangeset
for help on using the changeset viewer.