2
Copyright (C) 2000 Free Software Foundation, Inc.
4
This file is part of the GNU MP Library.
6
The GNU MP Library is free software; you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published by
8
the Free Software Foundation; either version 2.1 of the License, or (at your
9
option) any later version.
11
The GNU MP Library is distributed in the hope that it will be useful, but
12
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14
License for more details.
16
You should have received a copy of the GNU Lesser General Public License
17
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
18
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25
#if defined (__cplusplus)
36
typedef mp_limb_t (*tryfun_t) _PROTO ((ANYARGS));
38
#if HAVE_CALLING_CONVENTIONS
39
extern tryfun_t calling_conventions_function;
40
mp_limb_t calling_conventions _PROTO ((ANYARGS));
41
int calling_conventions_check _PROTO ((void));
42
#define CALLING_CONVENTIONS(function) \
43
(calling_conventions_function = (function), calling_conventions)
44
#define CALLING_CONVENTIONS_CHECK() (calling_conventions_check())
46
#define CALLING_CONVENTIONS(function) (function)
47
#define CALLING_CONVENTIONS_CHECK() 1 /* always ok */
51
extern int mp_trace_base;
52
void mpn_trace _PROTO ((const char *name, mp_srcptr ptr, mp_size_t size));
53
void mpn_tracea _PROTO ((const char *name, const mp_ptr *a, int count,
55
void mpn_tracen _PROTO ((const char *name, int num, mp_srcptr ptr,
57
void mpn_trace_file _PROTO ((const char *filename,
58
mp_srcptr ptr, mp_size_t size));
59
void mpn_tracea_file _PROTO ((const char *filename,
60
const mp_ptr *a, int count, mp_size_t size));
61
void mpq_trace _PROTO ((const char *name, mpq_srcptr q));
62
void mpz_trace _PROTO ((const char *name, mpz_srcptr z));
63
void mpz_tracen _PROTO ((const char *name, int num, mpz_srcptr z));
65
void spinner _PROTO ((void));
66
extern unsigned long spinner_count;
69
#if defined (__cplusplus)