Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
69fe6543
Commit
69fe6543
authored
Sep 25, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*_mpz output functions.
Rev: src/werror.c:1.9 Rev: src/werror.h:1.8
parent
7233fda2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
src/werror.c
src/werror.c
+14
-2
src/werror.h
src/werror.h
+3
-1
No files found.
src/werror.c
View file @
69fe6543
...
...
@@ -169,6 +169,18 @@ void fatal(char *format, ...)
void
werror_mpz
(
mpz_t
n
)
{
mpz_out_str
(
stderr
,
16
,
n
);
putc
(
'\n'
,
stderr
);
if
(
!
quiet_flag
)
mpz_out_str
(
stderr
,
16
,
n
);
}
void
debug_mpz
(
mpz_t
n
)
{
if
(
debug_flag
)
mpz_out_str
(
stderr
,
16
,
n
);
}
void
verbose_mpz
(
mpz_t
n
)
{
if
(
verbose_flag
)
mpz_out_str
(
stderr
,
16
,
n
);
}
src/werror.h
View file @
69fe6543
...
...
@@ -49,5 +49,7 @@ void werror_safe_utf8(UINT32 length, UINT8 *msg);
void
fatal
(
char
*
format
,
...)
PRINTF_STYLE
(
1
,
2
)
NORETURN
;
void
werror_mpz
(
mpz_t
n
);
void
debug_mpz
(
mpz_t
n
);
void
verbose_mpz
(
mpz_t
n
);
#endif
/* LSH_ERROR_H_INCLUDED */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment