cvs: php4 /ext/pgsql pgsql.c
| From: | Yasuo Ohgaki | Date: | Wed, 24 Apr 2002 23:03:58 +0000 |
| Subject: | cvs: php4 /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11406@lists.php.net to get a copy of this message | ||
yohgaki Wed Apr 24 19:03:58 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Remove result_type from pg_fetch_object() proto.
It still accepts 3rd argument, but passing 3rd argument
does not make sense for pg_fetch_object().
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.195 php4/ext/pgsql/pgsql.c:1.196
--- php4/ext/pgsql/pgsql.c:1.195 Wed Apr 24 18:57:21 2002
+++ php4/ext/pgsql/pgsql.c Wed Apr 24 19:03:48 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.195 2002/04/24 22:57:21 yohgaki Exp $ */
+/* $Id: pgsql.c,v 1.196 2002/04/24 23:03:48 yohgaki Exp $ */
#include <stdlib.h>
@@ -1343,7 +1343,7 @@
}
/* }}} */
-/* {{{ proto object pg_fetch_object(resource result [, int row [, int result_type]])
+/* {{{ proto object pg_fetch_object(resource result [, int row])
Fetch a row as an object */
PHP_FUNCTION(pg_fetch_object)
{