[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] cvs: pecl /PECL_Gen Extension.php
From:       "Hartmut Holzgraefe" <hholzgra () php ! net>
Date:       2005-01-26 1:39:24
Message-ID: cvshholzgra1106703564 () cvsserver
[Download RAW message or body]

hholzgra		Tue Jan 25 20:39:24 2005 EDT

  Modified files:              
    /pecl/PECL_Gen	Extension.php 
  Log:
  overoptimized :(
  
  
http://cvs.php.net/diff.php/pecl/PECL_Gen/Extension.php?r1=1.16&r2=1.17&ty=u
Index: pecl/PECL_Gen/Extension.php
diff -u pecl/PECL_Gen/Extension.php:1.16 pecl/PECL_Gen/Extension.php:1.17
--- pecl/PECL_Gen/Extension.php:1.16	Tue Jan 25 20:31:23 2005
+++ pecl/PECL_Gen/Extension.php	Tue Jan 25 20:39:23 2005
@@ -16,7 +16,7 @@
 // | Authors: Hartmut Holzgraefe <hholzgra@php.net>                       |
 // +----------------------------------------------------------------------+
 //
-// $Id: Extension.php,v 1.16 2005/01/26 01:31:23 hholzgra Exp $
+// $Id: Extension.php,v 1.17 2005/01/26 01:39:23 hholzgra Exp $
 //
 
 // {{{ includes
@@ -49,7 +49,7 @@
  * A class that generates PECL extension soure and documenation files
  *
  * @access  public
- * @version $Id: Extension.php,v 1.16 2005/01/26 01:31:23 hholzgra Exp $
+ * @version $Id: Extension.php,v 1.17 2005/01/26 01:39:23 hholzgra Exp $
  */
 
 class PECL_Gen_Extension 
@@ -1039,8 +1039,6 @@
      */
     function generate_function_registrations()
     {
-        if (empty($this->functions)) return "";
-
         $code  = "/* {{{ {$this->name}_functions[] */\n";
         $code .= "function_entry {$this->name}_functions[] = {\n";
         foreach ($this->functions as $name => $function) {

-- 
PECL CVS Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic