sniper          Mon Dec  5 19:43:44 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/ncurses        ncurses_functions.c 
  Log:
  MFH
  
http://cvs.php.net/diff.php/php-src/ext/ncurses/ncurses_functions.c?r1=1.49&r2=1.49.2.1&ty=u
Index: php-src/ext/ncurses/ncurses_functions.c
diff -u php-src/ext/ncurses/ncurses_functions.c:1.49 
php-src/ext/ncurses/ncurses_functions.c:1.49.2.1
--- php-src/ext/ncurses/ncurses_functions.c:1.49        Wed Aug  3 10:07:31 2005
+++ php-src/ext/ncurses/ncurses_functions.c     Mon Dec  5 19:43:44 2005
@@ -1824,7 +1824,7 @@
        }
        IS_NCURSES_INITIALIZED();
 
-       pval_destructor(arg);
+       zval_dtor(arg);
        array_init(arg);
 
        retval = getmouse(&mevent);
@@ -1843,7 +1843,7 @@
    Pushes mouse event to queue */
 PHP_FUNCTION(ncurses_ungetmouse)
 {
-       zval *arg, **pvalue;
+       zval *arg, **zvalue;
        MEVENT mevent;
        ulong retval;
 
@@ -1852,29 +1852,29 @@
        }
        IS_NCURSES_INITIALIZED();
 
-       if (zend_hash_find(Z_ARRVAL_P(arg), "id", sizeof("id"), (void **) 
&pvalue) == SUCCESS) {
-               convert_to_long_ex(pvalue);
-               mevent.id = Z_LVAL_PP(pvalue);
+       if (zend_hash_find(Z_ARRVAL_P(arg), "id", sizeof("id"), (void **) 
&zvalue) == SUCCESS) {
+               convert_to_long_ex(zvalue);
+               mevent.id = Z_LVAL_PP(zvalue);
        }
 
-       if (zend_hash_find(Z_ARRVAL_P(arg), "x", sizeof("x"), (void **) 
&pvalue) == SUCCESS) {
-               convert_to_long_ex(pvalue);
-               mevent.x = Z_LVAL_PP(pvalue);
+       if (zend_hash_find(Z_ARRVAL_P(arg), "x", sizeof("x"), (void **) 
&zvalue) == SUCCESS) {
+               convert_to_long_ex(zvalue);
+               mevent.x = Z_LVAL_PP(zvalue);
        }
 
-       if (zend_hash_find(Z_ARRVAL_P(arg), "y", sizeof("y"), (void **) 
&pvalue) == SUCCESS) {
-               convert_to_long_ex(pvalue);
-               mevent.y = Z_LVAL_PP(pvalue);
+       if (zend_hash_find(Z_ARRVAL_P(arg), "y", sizeof("y"), (void **) 
&zvalue) == SUCCESS) {
+               convert_to_long_ex(zvalue);
+               mevent.y = Z_LVAL_PP(zvalue);
        }
 
-       if (zend_hash_find(Z_ARRVAL_P(arg), "z", sizeof("z"), (void **) 
&pvalue) == SUCCESS) {
-               convert_to_long_ex(pvalue);
-               mevent.z = Z_LVAL_PP(pvalue);
+       if (zend_hash_find(Z_ARRVAL_P(arg), "z", sizeof("z"), (void **) 
&zvalue) == SUCCESS) {
+               convert_to_long_ex(zvalue);
+               mevent.z = Z_LVAL_PP(zvalue);
        }
 
-       if (zend_hash_find(Z_ARRVAL_P(arg), "mmask", sizeof("mmask"), (void **) 
&pvalue) == SUCCESS) {
-               convert_to_long_ex(pvalue);
-               mevent.bstate = Z_LVAL_PP(pvalue);
+       if (zend_hash_find(Z_ARRVAL_P(arg), "mmask", sizeof("mmask"), (void **) 
&zvalue) == SUCCESS) {
+               convert_to_long_ex(zvalue);
+               mevent.bstate = Z_LVAL_PP(zvalue);
        }
 
        retval = ungetmouse(&mevent);

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

Reply via email to