mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-132983: Reduce the size of `_zstdmodule.h
` (#133793)
This commit is contained in:
parent
4f2f780d53
commit
1a548c0a50
10 changed files with 166 additions and 165 deletions
|
@ -7,7 +7,13 @@ Python module.
|
|||
# define Py_BUILD_CORE_MODULE 1
|
||||
#endif
|
||||
|
||||
#include "Python.h"
|
||||
|
||||
#include "_zstdmodule.h"
|
||||
#include "zstddict.h"
|
||||
|
||||
#include <zstd.h> // ZSTD_*()
|
||||
#include <zdict.h> // ZDICT_*()
|
||||
|
||||
/*[clinic input]
|
||||
module _zstd
|
||||
|
@ -727,7 +733,7 @@ static struct PyModuleDef_Slot _zstd_slots[] = {
|
|||
{0, NULL},
|
||||
};
|
||||
|
||||
struct PyModuleDef _zstdmodule = {
|
||||
static struct PyModuleDef _zstdmodule = {
|
||||
.m_base = PyModuleDef_HEAD_INIT,
|
||||
.m_name = "_zstd",
|
||||
.m_doc = "Implementation module for Zstandard compression.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue