cvs: php-gtk /generator templates.php
| From: | Steph Fox | Date: | Sun, 25 Jun 2006 10:48:07 +0000 |
| Subject: | cvs: php-gtk /generator templates.php | ||
| Groups: | php.gtk.cvs | ||
| Request: | Send a blank email to php-gtk-cvs+get-2433@lists.php.net to get a copy of this message | ||
sfox Sun Jun 25 10:48:07 2006 UTC
Modified files:
/php-gtk/generator templates.php
Log:
Give GPointer types something to hold onto...
http://cvs.php.net/viewvc.cgi/php-gtk/generator/templates.php?r1=1.51&r2=1.52&diff_format=u
Index: php-gtk/generator/templates.php
diff -u php-gtk/generator/templates.php:1.51 php-gtk/generator/templates.php:1.52
--- php-gtk/generator/templates.php:1.51 Fri Jun 23 04:11:49 2006
+++ php-gtk/generator/templates.php Sun Jun 25 10:48:07 2006
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: templates.php,v 1.51 2006/06/23 04:11:49 andrei Exp $ */
+/* $Id: templates.php,v 1.52 2006/06/25 10:48:07 sfox Exp $ */
class Templates {
const function_call = "%s(%s)";
@@ -257,7 +257,7 @@
%(ce) = phpg_register_boxed(\"%(class)\", %(methods), %(propinfo), %(create_func),
%(typecode) TSRMLS_CC);\n%(extra_reg_info)";
const register_pointer = "
- %(ce) = phpg_register_class(\"%(class)\", %(methods), NULL, 0, NULL,
phpg_create_gpointer, %(typecode) TSRMLS_CC);\n%(extra_reg_info)";
+ %(ce) = phpg_register_pointer(\"%(class)\", %(methods), %(create_func), %(typecode)
TSRMLS_CC);\n%(extra_reg_info)";
const register_interface = "