Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-132983: Minor fixes and clean up for the _zstd module#134930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
serhiy-storchaka merged 9 commits intopython:mainfromserhiy-storchaka:zstd-fixes
Jun 1, 2025
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
ts
  • Loading branch information
@serhiy-storchaka
serhiy-storchaka committedMay 31, 2025
commit0dd3b2aba77df97e40d53057b1f2318aa39ed2f1
5 changes: 2 additions & 3 deletionsModules/_zstd/_zstdmodule.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,10 +57,9 @@ _Py_parse_zstd_dict(const _zstd_state *state, PyObject *dict, int *ptype)

/* Format error message and set ZstdError. */
void
set_zstd_error(const _zstd_state* const state,
error_type type, size_t zstd_ret)
set_zstd_error(const _zstd_state *state, error_type type, size_t zstd_ret)
{
char *msg;
constchar *msg;
assert(ZSTD_isError(zstd_ret));

if (state == NULL) {
Expand Down
4 changes: 2 additions & 2 deletionsModules/_zstd/_zstdmodule.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -51,8 +51,8 @@ _Py_parse_zstd_dict(const _zstd_state *state,

/* Format error message and set ZstdError. */
extern void
set_zstd_error(const _zstd_state* conststate,
consterror_type type, size_t zstd_ret);
set_zstd_error(const _zstd_state *state,
error_type type, size_t zstd_ret);

extern void
set_parameter_error(int is_compress, int key_v, int value_v);
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp