hholzgra Sun Jan 22 23:35:03 2006 UTC
Added files:
/phpdoc/en/internals/zendapi/functions add_property_unset.xml
Modified files:
/phpdoc/scripts zendapi_protos.php
Log:
check for recursive wrapper definitions until no new entries are found
http://cvs.php.net/viewcvs.cgi/phpdoc/scripts/zendapi_protos.php?r1=1.37&r2=1.38&diff_format=u
Index: phpdoc/scripts/zendapi_protos.php
diff -u phpdoc/scripts/zendapi_protos.php:1.37
phpdoc/scripts/zendapi_protos.php:1.38
--- phpdoc/scripts/zendapi_protos.php:1.37 Sun Jan 22 23:23:05 2006
+++ phpdoc/scripts/zendapi_protos.php Sun Jan 22 23:35:03 2006
@@ -131,6 +131,8 @@
}
+do {
+$additions = 0;
foreach ($wrappers as $name => $wrapper) {
if (isset($functions[$wrapper["function"]])) {
$function = $functions[$wrapper["function"]];
@@ -151,9 +153,11 @@
"api_type" => $function["api_type"],
"infile" => $wrapper["infile"]
);
+ unset($wrappers[$name]);
+ $additions++;
}
}
-
+} while ($additions > 0);
foreach ($functions as $name => $function) {
create_page($name, $function["return_type"], $function["params"],
$function["api_type"], $function["infile"]);
http://cvs.php.net/viewcvs.cgi/phpdoc/en/internals/zendapi/functions/add_property_unset.xml?view=markup&rev=1.1
Index: phpdoc/en/internals/zendapi/functions/add_property_unset.xml
+++ phpdoc/en/internals/zendapi/functions/add_property_unset.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="zend-api.add-property-unset">
<refnamediv>
<refname>add_property_unset</refname>
<refpurpose>...</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<literallayout>#include <zend_API.h></literallayout>
<methodsynopsis>
<type>int</type><methodname>add_property_unset</methodname>
<methodparam><type>zval*</type><parameter>arg</parameter></methodparam>
<methodparam><type>char*</type><parameter>key</parameter></methodparam>
</methodsynopsis>
<para>
...
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>arg</parameter></term>
<listitem>
<para>
...
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>key</parameter></term>
<listitem>
<para>
...
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
...
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->