CVS update: php3/doc/appendices
| From: | zeev | Date: | Thu, 10 Sep 1998 23:57:16 +0000 |
| Subject: | CVS update: php3/doc/appendices | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-947@lists.php.net to get a copy of this message | ||
Date: Thursday September 10, 1998 @ 19:57
Author: zeev
Update of /repository/php3/doc/appendices
In directory asf:/u2/tmp/cvs-serv29994/doc/appendices
Modified Files:
phpdevel.sgml
Log Message:
Clean all remaining leftovers from yystype, convert to pval and fix capitalization on macros
Index: php3/doc/appendices/phpdevel.sgml
diff -c php3/doc/appendices/phpdevel.sgml:1.13 php3/doc/appendices/phpdevel.sgml:1.14
*** php3/doc/appendices/phpdevel.sgml:1.13 Tue Sep 8 06:33:33 1998
--- php3/doc/appendices/phpdevel.sgml Thu Sep 10 19:57:16 1998
***************
*** 45,51 ****
<simpara>
When you change any of the passed parameters, whether they are
sent by reference or by value, you can either start over with the
! parameter by calling yystype_destructor on it, or if it's an ARRAY
you want to add to, you can use functions similar to the ones in
internal_functions.h which manipulate return_value as an ARRAY.
--- 45,51 ----
<simpara>
When you change any of the passed parameters, whether they are
sent by reference or by value, you can either start over with the
! parameter by calling pval_destructor on it, or if it's an ARRAY
you want to add to, you can use functions similar to the ones in
internal_functions.h which manipulate return_value as an ARRAY.
***************
*** 54,60 ****
assign the new estrdup()'ed string and the string length, and only
later change the type to IS_STRING. If you change the string of a
parameter which already IS_STRING or IS_ARRAY you should run
! yystype_destructor on it first.
<sect2 id="phpdevel-addfunc-varargs">
<title>Variable Function Arguments</title>
--- 54,60 ----
assign the new estrdup()'ed string and the string length, and only
later change the type to IS_STRING. If you change the string of a
parameter which already IS_STRING or IS_ARRAY you should run
! pval_destructor on it first.
<sect2 id="phpdevel-addfunc-varargs">
<title>Variable Function Arguments</title>
***************
*** 231,238 ****
<example>
<title>Finding a variable's size in a symbol table</title>
<programlisting>
! hash_find(active_symbol_table,"foo",sizeof("foo"),&yystype);
! check(yystype.type);
</programlisting>
</example>
--- 231,238 ----
<example>
<title>Finding a variable's size in a symbol table</title>
<programlisting>
! hash_find(active_symbol_table,"foo",sizeof("foo"),&pvalue);
! check(pvalue.type);
</programlisting>
</example>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net