mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-41369: Finish updating the vendored libmpdec to version 2.5.1 (GH-24962)
Complete the update to libmpdec-2.5.1. Co-authored-by: Stefan Krah <skrah@bytereef.org>
This commit is contained in:
parent
a7ff6df60c
commit
73b20ae2fb
26 changed files with 1966 additions and 113 deletions
|
@ -235,12 +235,12 @@ mpd_qsetround(mpd_context_t *ctx, int round)
|
|||
}
|
||||
|
||||
int
|
||||
mpd_qsettraps(mpd_context_t *ctx, uint32_t traps)
|
||||
mpd_qsettraps(mpd_context_t *ctx, uint32_t flags)
|
||||
{
|
||||
if (traps > MPD_Max_status) {
|
||||
if (flags > MPD_Max_status) {
|
||||
return 0;
|
||||
}
|
||||
ctx->traps = traps;
|
||||
ctx->traps = flags;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue