diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-23 08:05:03 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-23 08:05:03 +0000 |
commit | 31d9a45d1387a00a3c04c231d481e3af9a874ee7 (patch) | |
tree | f0131bd31b083c7c7a26da9fb807c6ed9e689859 /ace/SPIPE_Addr.i | |
parent | bad20233663443a04c3a334ea5f1534b2e876bdc (diff) | |
download | ATCD-31d9a45d1387a00a3c04c231d481e3af9a874ee7.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SPIPE_Addr.i')
-rw-r--r-- | ace/SPIPE_Addr.i | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/ace/SPIPE_Addr.i b/ace/SPIPE_Addr.i index f588a1702b7..527c1bf2322 100644 --- a/ace/SPIPE_Addr.i +++ b/ace/SPIPE_Addr.i @@ -7,12 +7,23 @@ // Transform the current address into string format. +#if defined (UNICODE) ACE_INLINE int -ACE_SPIPE_Addr::addr_to_string (LPTSTR s, size_t len) const +ACE_SPIPE_Addr::addr_to_string (wchar_t *s, size_t len) const { ACE_OS::strncpy (s, this->SPIPE_addr_.rendezvous_, len); return 0; } +#endif /* UNICODE */ + +ACE_INLINE int +ACE_SPIPE_Addr::addr_to_string (char *s, size_t len) const +{ + ACE_OS::strncpy (s, + ACE_MULTIBYTE_STRING (this->SPIPE_addr_.rendezvous_), + len); + return 0; +} // Return the address. |