diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2013-12-02 07:59:08 -0500 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-12-03 10:01:59 -0800 |
commit | 17312534879f506c71ee72c549ba6fda6f9b063d (patch) | |
tree | 036bd2749325adea6b4052920e73d04105834223 /xlators/cluster/afr/src | |
parent | ed31918c2cf80d6c875e0b31eff4ab634d9375f2 (diff) |
gfapi: add __THROW [(__attribute) ((__nothrow__))] to fn decls for C++ users.
Off hand I don't know of anything written in C++ that is or could be a user
of gfapi.
Never the less, it's possible that one could exist, or be written, and
marking the library entry points is a) friendly, b) possibly allows the
C++ compiler to generate better code, and c) is a good practice when
writing APIs that might be consumed by C++ applications. Considering we
already take the first step and use __BEGIN_DECLS/__END_DECLS to be C++
friendly, we should take the extra step
Change-Id: Ib319ecaa452a46f258a9c6e8c7221454d2fefd0f
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/6393
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src')
0 files changed, 0 insertions, 0 deletions