cvs: ZendEngine2 / zend_closures.c

[email protected] ("Marcus Boerger")
Newsgroups php.zend-engine.cvs
Message-ID <cvshelly1230985470@cvsserver>
helly		Sat Jan  3 12:24:30 2009 UTC

  Modified files:              
    /ZendEngine2	zend_closures.c 
  Log:
  - Fix vim blocks and add missing comment
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_closures.c?r1=1.20&r2=1.21&diff_format=u
Index: ZendEngine2/zend_closures.c
diff -u ZendEngine2/zend_closures.c:1.20 ZendEngine2/zend_closures.c:1.21
--- ZendEngine2/zend_closures.c:1.20	Sat Jan  3 12:19:30 2009
+++ ZendEngine2/zend_closures.c	Sat Jan  3 12:24:30 2009
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_closures.c,v 1.20 2009/01/03 12:19:30 helly Exp $ */
+/* $Id: zend_closures.c,v 1.21 2009/01/03 12:24:30 helly Exp $ */
 
 #include "zend.h"
 #include "zend_API.h"
@@ -40,6 +40,7 @@
 	zval          *this_ptr;
 } zend_closure;
 
+/* non-static since it needs to be referenced */
 ZEND_API zend_class_entry *zend_ce_closure;
 static zend_object_handlers closure_handlers;
 
@@ -107,7 +108,7 @@
 }
 /* }}} */
 
-ZEND_API const zend_function *zend_get_closure_method_def(zval *obj TSRMLS_DC)
+ZEND_API const zend_function *zend_get_closure_method_def(zval *obj TSRMLS_DC) /* {{{ */
 {
 	zend_closure *closure = (zend_closure *)zend_object_store_get_object(obj TSRMLS_CC);	
 	return &closure->func;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.