summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-12-05 23:33:58 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-12-05 23:33:58 +0000
commitb5d87836860739af95cc088eb9b4b3722af904e9 (patch)
tree561de22ee4eafd61837fd03d3e73cad7a97ae037 /src
parent7125c51af70d2537e0b0abadce1d0709302c5c51 (diff)
downloadmpfr-b5d87836860739af95cc088eb9b4b3722af904e9.tar.gz
[src/mpfr.h] Made box around code examples for clarity and grep.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11911 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r--src/mpfr.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/mpfr.h b/src/mpfr.h
index 865d28cd3..cf472766b 100644
--- a/src/mpfr.h
+++ b/src/mpfr.h
@@ -309,13 +309,17 @@ typedef enum {
documented in the GCC manual); GCC does not seem to care.
Moreover, in order to avoid a warning when testing such functions,
do something like:
- #ifndef _MPFR_NO_DEPRECATED_funcname
- MPFR_DEPRECATED
- #endif
- __MPFR_DECLSPEC int mpfr_funcname (...);
+ +------------------------------------------
+ |#ifndef _MPFR_NO_DEPRECATED_funcname
+ |MPFR_DEPRECATED
+ |#endif
+ |__MPFR_DECLSPEC int mpfr_funcname (...);
+ +------------------------------------------
and in the corresponding test program:
- #define _MPFR_NO_DEPRECATED_funcname
- #include "mpfr-test.h"
+ +------------------------------------------
+ |#define _MPFR_NO_DEPRECATED_funcname
+ |#include "mpfr-test.h"
+ +------------------------------------------
*/
#if defined(__GNUC__) && \
(__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))