cvs: pear /CodeGen_PECL pecl-gen /CodeGen_PECL/PECL/Element Class.php

From: Date: Fri, 17 Feb 2006 11:10:56 +0000
Subject: cvs: pear /CodeGen_PECL pecl-gen /CodeGen_PECL/PECL/Element Class.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38308@lists.php.net to get a copy of this message
hholzgra Fri Feb 17 11:10:56 2006 UTC Modified files: /pear/CodeGen_PECL pecl-gen /pear/CodeGen_PECL/PECL/Element Class.php Log: make sure PHP error messages go to stderr, not stdout http://cvs.php.net/viewcvs.cgi/pear/CodeGen_PECL/pecl-gen?r1=1.2&r2=1.3&diff_format=u Index: pear/CodeGen_PECL/pecl-gen diff -u pear/CodeGen_PECL/pecl-gen:1.2 pear/CodeGen_PECL/pecl-gen:1.3 --- pear/CodeGen_PECL/pecl-gen:1.2 Sat Aug 13 18:32:35 2005 +++ pear/CodeGen_PECL/pecl-gen Fri Feb 17 11:10:56 2006 @@ -1,11 +1,11 @@ -#!/usr/local/bin/php -Cq +#!/usr/local/bin/php -ddisplay_errors=off -dlog_errors=on -Cq <?php /** * Console script to generate PECL extensions from command line * * @author Hartmut Holzgraefe <hartmut@php.net> -* @version $Id: pecl-gen,v 1.2 2005/08/13 18:32:35 hholzgra Exp $ +* @version $Id: pecl-gen,v 1.3 2006/02/17 11:10:56 hholzgra Exp $ */ require_once "CodeGen/PECL/Command.php"; http://cvs.php.net/viewcvs.cgi/pear/CodeGen_PECL/PECL/Element/Class.php?r1=1.22&r2=1.23&diff_format=u Index: pear/CodeGen_PECL/PECL/Element/Class.php diff -u pear/CodeGen_PECL/PECL/Element/Class.php:1.22 pear/CodeGen_PECL/PECL/Element/Class.php:1.23 --- pear/CodeGen_PECL/PECL/Element/Class.php:1.22 Fri Feb 17 09:55:20 2006 +++ pear/CodeGen_PECL/PECL/Element/Class.php Fri Feb 17 11:10:56 2006 @@ -15,7 +15,7 @@ * @author Hartmut Holzgraefe <hartmut@php.net> * @copyright 2005 Hartmut Holzgraefe * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Class.php,v 1.22 2006/02/17 09:55:20 hholzgra Exp $ + * @version CVS: $Id: Class.php,v 1.23 2006/02/17 11:10:56 hholzgra Exp $ * @link http://pear.php.net/package/CodeGen */ @@ -391,7 +391,7 @@ $code.= " intern->data = ({$this->payloadType} *)malloc(sizeof({$this->payloadType}));\n"; } - $code .= $this->payloadCtor; // TODO indent, block + $code .= CodeGen_Tools_Indent::indent(4, $this->payloadCtor); // TODO while(0) block? return $code; } @@ -421,7 +421,7 @@ */ function getPayloadDtor() { - $code = $this->payloadDtor; // TODO indent + $code = CodeGen_Tools_Indent::indent(4, $this->payloadDtor); // TODO while(0) block? if ($this->payloadAlloc) { $code.= " free(intern->data);\n";

« previous php.pear.cvs (#38308) next »