cvs: pear /CodeGen_PECL/PECL/Element Resource.php
| From: | Hartmut Holzgraefe | Date: | Wed, 18 Oct 2006 00:22:08 +0000 |
| Subject: | cvs: pear /CodeGen_PECL/PECL/Element Resource.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-42612@lists.php.net to get a copy of this message | ||
hholzgra Wed Oct 18 00:22:08 2006 UTC
Modified files:
/pear/CodeGen_PECL/PECL/Element Resource.php
Log:
WS, removed a TODO comment
http://cvs.php.net/viewvc.cgi/pear/CodeGen_PECL/PECL/Element/Resource.php?r1=1.12&r2=1.13&diff_format=u
Index: pear/CodeGen_PECL/PECL/Element/Resource.php
diff -u pear/CodeGen_PECL/PECL/Element/Resource.php:1.12
pear/CodeGen_PECL/PECL/Element/Resource.php:1.13
--- pear/CodeGen_PECL/PECL/Element/Resource.php:1.12 Mon Oct 9 21:27:05 2006
+++ pear/CodeGen_PECL/PECL/Element/Resource.php Wed Oct 18 00:22:08 2006
@@ -15,7 +15,7 @@
* @author Hartmut Holzgraefe <hartmut@php.net>
* @copyright 2005, 2006 Hartmut Holzgraefe
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Resource.php,v 1.12 2006/10/09 21:27:05 hholzgra Exp $
+ * @version CVS: $Id: Resource.php,v 1.13 2006/10/18 00:22:08 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen
*/
@@ -316,10 +316,14 @@
function configm4($extension_name)
{
if ($this->ifCondition) {
- return ""; // TODO implement more clever checking
+ return ""; // no checks here
}
- return " AC_CHECK_TYPE(".$this->getPayload()." *, [],
[AC_MSG_ERROR(required payload type for resource ".$this->getName()." not found)],
[#include \"\$srcdir/php_{$extension_name}.h\"])\n";
+ return "
+ AC_CHECK_TYPE(".$this->getPayload()." *,
+ [],
+ [AC_MSG_ERROR(required payload type for resource ".$this->getName()."
not found)],
+ [#include \"\$srcdir/php_{$extension_name}.h\"])\n";
}