cvs: /php3/functions hw.c pdf.c

From: Date: Wed, 23 Feb 2000 15:05:38 +0000
Subject: cvs: /php3/functions hw.c pdf.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-15850@lists.php.net to get a copy of this message
steinm Wed Feb 23 07:05:38 2000 EDT Modified files: /php3/functions hw.c pdf.c Log: - small fixes in hw.c - Egon, php3 still needs an integer for the encoding. It has not been ported to pdflib >= 2.30 Index: php3/functions/hw.c diff -u php3/functions/hw.c:1.54 php3/functions/hw.c:1.55 --- php3/functions/hw.c:1.54 Sun Feb 20 14:24:33 2000 +++ php3/functions/hw.c Wed Feb 23 07:05:08 2000 @@ -23,7 +23,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: hw.c,v 1.54 2000/02/20 22:24:33 eschmid Exp $ */ +/* $Id: hw.c,v 1.55 2000/02/23 15:05:08 steinm Exp $ */ #if COMPILE_DL #include "dl/phpdl.h" @@ -1176,7 +1176,7 @@ link=argv[0]->value.lval; ptr = php3_list_find(link,&type); if(!ptr || (type!=php3_hw_module.le_socketp && type!=php3_hw_module.le_psocketp)) { - php3_error(E_WARNING,"Unable to find file identifier %d",id); + php3_error(E_WARNING,"Unable to find file identifier %d", link); RETURN_FALSE; } Index: php3/functions/pdf.c diff -u php3/functions/pdf.c:1.59 php3/functions/pdf.c:1.60 --- php3/functions/pdf.c:1.59 Wed Feb 23 06:42:07 2000 +++ php3/functions/pdf.c Wed Feb 23 07:05:08 2000 @@ -27,7 +27,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pdf.c,v 1.59 2000/02/23 14:42:07 eschmid Exp $ */ +/* $Id: pdf.c,v 1.60 2000/02/23 15:05:08 steinm Exp $ */ /* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE. Copyright (C) 1997 Thomas Merz. */ @@ -672,7 +672,7 @@ } /* }}} */ -/* {{{ proto void pdf_set_font(int pdfdoc, string font, double size, string encoding [, int embed]) +/* {{{ proto void pdf_set_font(int pdfdoc, string font, double size, int encoding [, int embed]) Select the current font face, size and encoding */ PHP_FUNCTION(pdf_set_font) { pval *arg1, *arg2, *arg3, *arg4, *arg5;

« previous php.dev (#15850) next »