diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-30 23:25:53 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-30 23:25:53 +0000 |
commit | cf07f9f8a6874e0cba173df813056f37c78b3ace (patch) | |
tree | 639ad21e50551cc2a89c31b7ad63186e857a9fdb /ace/FILE_IO.i | |
parent | f7897d95a4fb9acffc0c17b90061040825a405fc (diff) | |
download | ATCD-cf07f9f8a6874e0cba173df813056f37c78b3ace.tar.gz |
Added control for default inlined-functions.
Diffstat (limited to 'ace/FILE_IO.i')
-rw-r--r-- | ace/FILE_IO.i | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ace/FILE_IO.i b/ace/FILE_IO.i index f68c88acdf2..1dd742fef87 100644 --- a/ace/FILE_IO.i +++ b/ace/FILE_IO.i @@ -6,7 +6,7 @@ // Send exactly N bytes from BUF to this file. Keeping trying until // this many bytes are sent. -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::send_n (const void *buf, size_t n) const { ACE_TRACE ("ACE_FILE_IO::send_n"); @@ -16,35 +16,35 @@ ACE_FILE_IO::send_n (const void *buf, size_t n) const // Receive exactly N bytes from this file into BUF. Keep trying until // this many bytes are received. -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::recv_n (void *buf, size_t n) const { ACE_TRACE ("ACE_FILE_IO::recv_n"); return ACE::read_n (this->get_handle (), buf, n); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::send (const void *buf, size_t n) const { ACE_TRACE ("ACE_FILE_IO::send"); return ACE_OS::write (this->get_handle (), (const char *) buf, n); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::recv (void *buf, size_t n) const { ACE_TRACE ("ACE_FILE_IO::recv"); return ACE_OS::read (this->get_handle (), (char *) buf, n); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::send (const iovec iov[], size_t n) const { ACE_TRACE ("ACE_FILE_IO::send"); return ACE_OS::writev (this->get_handle (), (iovec *) iov, n); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::recv (iovec iov[], size_t n) const { ACE_TRACE ("ACE_FILE_IO::recv"); @@ -52,35 +52,35 @@ ACE_FILE_IO::recv (iovec iov[], size_t n) const } #if defined (ACE_HAS_STREAM_PIPES) -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::recv (ACE_Str_Buf *cntl, ACE_Str_Buf *data, int *band, int *flags) const { ACE_TRACE ("ACE_FILE_IO::recv"); return ACE_OS::getpmsg (this->get_handle (), (strbuf *) cntl, (strbuf *) data, band, flags); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::send (const ACE_Str_Buf *cntl, const ACE_Str_Buf *data, int band, int flags) const { ACE_TRACE ("ACE_FILE_IO::send"); return ACE_OS::putpmsg (this->get_handle (), (strbuf *) cntl, (strbuf *) data, band, flags); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::recv (ACE_Str_Buf *cntl, ACE_Str_Buf *data, int *flags) const { ACE_TRACE ("ACE_FILE_IO::recv"); return ACE_OS::getmsg (this->get_handle (), (strbuf *) cntl, (strbuf *) data, flags); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::send (const ACE_Str_Buf *cntl, const ACE_Str_Buf *data, int flags) const { ACE_TRACE ("ACE_FILE_IO::send"); return ACE_OS::putmsg (this->get_handle (), (strbuf *) cntl, (strbuf *) data, flags); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::send (const void *buf, size_t n, ACE_OVERLAPPED *overlapped) const { @@ -90,7 +90,7 @@ ACE_FILE_IO::send (const void *buf, size_t n, overlapped); } -inline ssize_t +ASYS_INLINE ssize_t ACE_FILE_IO::recv (void *buf, size_t n, ACE_OVERLAPPED *overlapped) const { |