cvs: pear /CodeGen_PECL/PECL/Dependency Extension.php
| From: | Hartmut Holzgraefe | Date: | Fri, 17 Feb 2006 11:47:52 +0000 |
| Subject: | cvs: pear /CodeGen_PECL/PECL/Dependency Extension.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38313@lists.php.net to get a copy of this message | ||
hholzgra Fri Feb 17 11:47:52 2006 UTC
Modified files:
/pear/CodeGen_PECL/PECL/Dependency Extension.php
Log:
WS
http://cvs.php.net/viewcvs.cgi/pear/CodeGen_PECL/PECL/Dependency/Extension.php?r1=1.4&r2=1.5&diff_format=u
Index: pear/CodeGen_PECL/PECL/Dependency/Extension.php
diff -u pear/CodeGen_PECL/PECL/Dependency/Extension.php:1.4
pear/CodeGen_PECL/PECL/Dependency/Extension.php:1.5
--- pear/CodeGen_PECL/PECL/Dependency/Extension.php:1.4 Sun Aug 14 18:54:19 2005
+++ pear/CodeGen_PECL/PECL/Dependency/Extension.php Fri Feb 17 11:47:52 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: Extension.php,v 1.4 2005/08/14 18:54:19 hholzgra Exp $
+ * @version CVS: $Id: Extension.php,v 1.5 2006/02/17 11:47:52 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen
*/
@@ -159,9 +159,9 @@
function cCode($extension)
{
if (!empty($this->version)) {
- return sprintf('ZEND_MOD_%s_EX("%s", "%s",
"%s")', $this->type, $this->name, $this->version["relation"],
$this->version["version"])."\n";
+ return sprintf(' ZEND_MOD_%s_EX("%s", "%s",
"%s")', $this->type, $this->name, $this->version["relation"],
$this->version["version"])."\n";
} else {
- return sprintf('ZEND_MOD_%s("%s")', $this->type,
$this->name)."\n";
+ return sprintf(' ZEND_MOD_%s("%s")', $this->type,
$this->name)."\n";
}
}
@@ -187,7 +187,7 @@
*/
static function cCodeFooter($extension)
{
- return " {NULL, NULL, NULL, 0}
+ return " {NULL, NULL, NULL, 0}
};
#endif
/* }}} */
@@ -265,4 +265,4 @@
return $xml;
}
-}
\ No newline at end of file
+}