Skip to content

Sync stream with EN #2183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions reference/stream/streamwrapper/dir-readdir.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: dams Status: ready -->
<!-- EN-Revision: e652ed93a5ba1f87c8f2058ff2bdfe626cf4a560 Maintainer: dams Status: ready -->
<!-- Reviewed: yes -->

<refentry xml:id="streamwrapper.dir-readdir" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand All @@ -12,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>string</type><methodname>streamWrapper::dir_readdir</methodname>
<modifier>public</modifier> <type class="union"><type>string</type><type>bool</type></type><methodname>streamWrapper::dir_readdir</methodname>
<void />
</methodsynopsis>
<para>
Expand All @@ -32,9 +31,17 @@
Doit retourner une &string; représentant le prochain nom de fichier,
ou &false; s'i n'y a pas d'autre fichier.
</para>
<warning>
<simpara>
Renvoyer <type>true</type> ou <type>false</type> aura le même
effet que de signaler qu'il n'y a pas de fichier suivant. Cependant,
renvoyer <type>true</type> est déconseillé et <type>false</type>
devrait être utilisé pour signaler cette condition à la place.
</simpara>
</warning>
<note>
<para>
La valeur retournée sera transtypée en &string;.
Une valeur non booléenne sera transtypée en <type>string</type>;.
</para>
</note>
</refsect1>
Expand Down
5 changes: 2 additions & 3 deletions reference/stream/streamwrapper/stream-cast.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: dams Status: ready -->
<!-- EN-Revision: 821af5a8ba67e317b646a1c6b74b3229eb85c2fd Maintainer: dams Status: ready -->
<!-- Reviewed: no -->

<refentry xml:id="streamwrapper.stream-cast" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand All @@ -12,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>resource</type><methodname>streamWrapper::stream_cast</methodname>
<modifier>public</modifier> <type class="union"><type>resource</type><type>false</type></type><methodname>streamWrapper::stream_cast</methodname>
<methodparam><type>int</type><parameter>cast_as</parameter></methodparam>
</methodsynopsis>
<para>
Expand Down