From 7e308604ee0aa67bc37f37d6f69ed41481c427a0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 31 Oct 2010 03:03:38 +0100 Subject: libm: improve readability of math.h; expand comments and docs Signed-off-by: Denys Vlasenko --- docs/defines.txt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'docs') 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: -- cgit v1.2.3