summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-13 02:05:11 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-13 02:05:11 +0000
commit1a6ce374b17d80fccd1c72adf41bf55348c82df4 (patch)
tree77321c07953b1f5c856bd8a7bd6db1a800404699
parent5dba1e8f655e7e6741f56999e6da375e0c805b34 (diff)
downloadATCD-1a6ce374b17d80fccd1c72adf41bf55348c82df4.tar.gz
Added description of ASYS_TCHAR.
-rw-r--r--etc/ACE-guidelines.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/ACE-guidelines.html b/etc/ACE-guidelines.html
index 99002ba09c4..b2959ed8fe0 100644
--- a/etc/ACE-guidelines.html
+++ b/etc/ACE-guidelines.html
@@ -341,7 +341,13 @@ to Graham for providing the OSE tools!
</ul>
<li><strong>UNICODE conformity</strong><p>
+
<ul>
+ <li>Define strings as <strong><code>ASYS_TCHAR</code></strong> if
+ they need to be passed into system API. It expands to
+ <code>wchar_t</code> only when
+ <code>ACE_HAS_MOSTLY_UNICODE_APIS</code> is deined.<p>
+
<li>Use <strong><code>ASYS_TEXT</code></strong> and
<strong><code>ASYS_WIDE_STRING</code></strong> for format
strings and other string arguments passed to
@@ -365,13 +371,17 @@ to Graham for providing the OSE tools!
This is because ACE also support platforms which use UNICODE
in most of their APIs. On these platforms, ACE also uses
UNICODE as its system string type.<p>
+
<li><strong><code>ACE_TRACE</code></strong> handles conversion
between char strings and UNICODE strings automatically.<p>
+
<li>Other helper macros include
<strong><code>ASYS_MULTIBYTE_STRING</code></strong> and
<strong><code>ASYS_ONLY_MULTIBYTE_STRING</code></strong>. See
the end of <a href="../ace/OS.h">OS.h</a> for more details.<p>
+
</ul><p>
+
</ul><p>
<p><HR><P>
@@ -477,7 +487,7 @@ to Graham for providing the OSE tools!
<hr>
<!-- hhmts start -->
-Last modified: Sun Apr 12 18:58:50 CDT 1998
+Last modified: Sun Apr 12 21:03:27 CDT 1998
<!-- hhmts end -->
</body>