From 4ed860b0e7d805ee1806ad6f5dd2a7eef16cc4f6 Mon Sep 17 00:00:00 2001 From: levine Date: Thu, 13 Jul 2000 12:57:48 +0000 Subject: ChangeLogTag: Thu Jul 13 07:55:41 2000 David L. Levine --- docs/ACE-guidelines.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/ACE-guidelines.html b/docs/ACE-guidelines.html index 293ad2361df..a7fd68106d0 100644 --- a/docs/ACE-guidelines.html +++ b/docs/ACE-guidelines.html @@ -32,6 +32,11 @@ bgcolor="#ffffff"> indent using spaces.

+

  • Do not end text lines with spaces. Emacs users can add this to + their .emacs: + +
    (setq-default nuke-trailing-whitespace-p t)

    +

  • Try to limit the length of source code lines to less than 80 characters. Users with 14 inch monitors appreciate it when reading code. And, it avoids mangling problems with email @@ -712,7 +717,7 @@ Foo::bar ()
  • WCHAR conformity

      -
    • For ACE, use ACE_TCHAR instead of char for strings and ACE_TEXT () +
    • For ACE, use ACE_TCHAR instead of char for strings and ACE_TEXT () around string literals. Exceptions are char arrays used for data and strings that need to remain as 1 byte characters. @@ -720,7 +725,7 @@ Foo::bar () use the ACE_TEXT_CHAR_TO_TCHAR () macro. If you have a ACE_TCHAR string that needs to be converted to a char string, use the ACE_TEXT_ALWAYS_CHAR () macro - +
    • Do not use the Win32 TCHAR macros. The wide character-ness of ACE is separate from UNICODE and _UNICODE. -- cgit v1.2.1