summaryrefslogtreecommitdiff
path: root/docs/defines.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/defines.txt')
-rw-r--r--docs/defines.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/docs/defines.txt b/docs/defines.txt
index 23991813e..8f37788dc 100644
--- a/docs/defines.txt
+++ b/docs/defines.txt
@@ -16,11 +16,18 @@ _LARGEFILE[64]_SOURCE
_FILE_OFFSET_BITS
???
-__NTH(fct)
__THROW
-__REDIRECT(name, proto, alias)
-__REDIRECT_NTH(name, proto, alias)
- ???
+ Function annotation "I do not throw anything".
+__NTH(func(params))
+ Function annotation "I do not throw anything".
+ Needed for situatuons when it's unclear on what side of "func(params)"
+ the "throw()" or "attribute((nothrow))" should eventually appear.
+ Messy, eh?
+
+return_type __REDIRECT(name, (params), alias)
+ declare alias to "name(params)"
+return_type __REDIRECT_NTH(name, (params), alias)
+ declare alias to "name(params) __THROW"
__BIG_ENDIAN 4321
__LITTLE_ENDIAN 1234
@@ -49,6 +56,7 @@ _EXTERN_INLINE
__extern_inline
Defined to "extern inline", modulo gcc/C standard deviations.
Can't be used by user to play tricks as with _EXTERN_INLINE.
+
internal_function
Used to modify function's calling convention, if "standard" one
is suboptimal. Examples: