[Kde-bindings] KDE/kdebindings/php/phpqt/src

Thomas Moenicke tm at php-qt.org
Fri Oct 31 10:52:30 UTC 2008


SVN commit 878062 by moenicke:

* increased the refcount of variables that are used as arguments for int& types so they are not deleted by GC before needed (a value of 100 should be ok)

CCMAIL: kde-bindings at kde.org



 M  +1 -0      handlers.cpp  


--- trunk/KDE/kdebindings/php/phpqt/src/handlers.cpp #878061:878062
@@ -357,6 +357,7 @@
     case Marshall::FromZVAL:
     {
         m->item().s_voidp = &( Z_LVAL_P( m->var() ) );
+	m->var()->refcount = 100;
         break;
     }
     case Marshall::ToZVAL:



More information about the Kde-bindings mailing list