Skip to content

Commit

Permalink
rustfmt on 1.50
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-konovalenko committed Feb 11, 2021
1 parent 649c900 commit d79f1f3
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/ffi/codecs.rs
Expand Up @@ -51,6 +51,6 @@ extern "C" {
pub fn PyCodec_ReplaceErrors(exc: *mut PyObject) -> *mut PyObject;
pub fn PyCodec_XMLCharRefReplaceErrors(exc: *mut PyObject) -> *mut PyObject;
pub fn PyCodec_BackslashReplaceErrors(exc: *mut PyObject) -> *mut PyObject;
// skipped non-limited PyCodec_NameReplaceErrors from Include/codecs.h
// skipped non-limited Py_hexdigits from Include/codecs.h
// skipped non-limited PyCodec_NameReplaceErrors from Include/codecs.h
// skipped non-limited Py_hexdigits from Include/codecs.h
}
4 changes: 2 additions & 2 deletions src/ffi/compile.rs
Expand Up @@ -80,8 +80,8 @@ extern "C" {
#[cfg(Py_3_8)]
pub fn PyCompile_OpcodeStackEffectWithJump(opcode: c_int, oparg: c_int, jump: c_int) -> c_int;

// skipped non-limited _PyASTOptimizeState
// skipped non-limited _PyAST_Optimize
// skipped non-limited _PyASTOptimizeState
// skipped non-limited _PyAST_Optimize
}

pub const Py_single_input: c_int = 256;
Expand Down
4 changes: 2 additions & 2 deletions src/ffi/complexobject.rs
Expand Up @@ -56,6 +56,6 @@ extern "C" {
pub fn PyComplex_RealAsDouble(op: *mut PyObject) -> c_double;
#[cfg_attr(PyPy, link_name = "PyPyComplex_ImagAsDouble")]
pub fn PyComplex_ImagAsDouble(op: *mut PyObject) -> c_double;
// skipped non-limited PyComplex_AsCComplex
// skipped non-limited _PyComplex_FormatAdvancedWriter
// skipped non-limited PyComplex_AsCComplex
// skipped non-limited _PyComplex_FormatAdvancedWriter
}
4 changes: 2 additions & 2 deletions src/ffi/context.rs
Expand Up @@ -7,7 +7,7 @@ extern "C" {
pub static mut PyContextVar_Type: PyTypeObject;
// skipped non-limited opaque PyContextVar
pub static mut PyContextToken_Type: PyTypeObject;
// skipped non-limited opaque PyContextToken
// skipped non-limited opaque PyContextToken
}

#[inline]
Expand Down Expand Up @@ -41,5 +41,5 @@ extern "C" {
) -> c_int;
pub fn PyContextVar_Set(var: *mut PyObject, value: *mut PyObject) -> *mut PyObject;
pub fn PyContextVar_Reset(var: *mut PyObject, token: *mut PyObject) -> c_int;
// skipped non-limited _PyContext_NewHamtForTests
// skipped non-limited _PyContext_NewHamtForTests
}
2 changes: 1 addition & 1 deletion src/ffi/descrobject.rs
Expand Up @@ -48,7 +48,7 @@ extern "C" {
pub static mut PyWrapperDescr_Type: PyTypeObject;
#[cfg_attr(PyPy, link_name = "PyPyDictProxy_Type")]
pub static mut PyDictProxy_Type: PyTypeObject;
// skipped non-limited _PyMethodWrapper_Type
// skipped non-limited _PyMethodWrapper_Type
}

extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion src/ffi/dictobject.rs
Expand Up @@ -64,7 +64,7 @@ extern "C" {
) -> c_int;
#[cfg_attr(PyPy, link_name = "PyPyDict_DelItemString")]
pub fn PyDict_DelItemString(dp: *mut PyObject, key: *const c_char) -> c_int;
// skipped 3.10 / ex-non-limited PyObject_GenericGetDict
// skipped 3.10 / ex-non-limited PyObject_GenericGetDict
}

#[cfg_attr(windows, link(name = "pythonXY"))]
Expand Down
4 changes: 2 additions & 2 deletions src/ffi/eval.rs
Expand Up @@ -22,6 +22,6 @@ extern "C" {
closure: *mut PyObject,
) -> *mut PyObject;

// skipped non-limited _PyEval_EvalCodeWithName
// skipped non-limited _PyEval_CallTracing
// skipped non-limited _PyEval_EvalCodeWithName
// skipped non-limited _PyEval_CallTracing
}
2 changes: 1 addition & 1 deletion src/ffi/fileobject.rs
Expand Up @@ -29,7 +29,7 @@ extern "C" {
pub static mut Py_FileSystemDefaultEncoding: *const c_char;
pub static mut Py_FileSystemDefaultEncodeErrors: *const c_char;
pub static mut Py_HasFileSystemDefaultEncoding: c_int;
// skipped Python 3.7 / ex-non-limited Py_UTF8Mode
// skipped Python 3.7 / ex-non-limited Py_UTF8Mode
}

// skipped _PyIsSelectable_fd
6 changes: 3 additions & 3 deletions src/ffi/genobject.rs
Expand Up @@ -79,9 +79,9 @@ pub unsafe fn PyCoroWrapper_Check(op: *mut PyObject) -> c_int {
#[cfg_attr(windows, link(name = "pythonXY"))]
extern "C" {
pub static mut PyAsyncGen_Type: PyTypeObject;
// skipped _PyAsyncGenASend_Type
// skipped _PyAsyncGenWrappedValue_Type
// skipped _PyAsyncGenAThrow_Type
// skipped _PyAsyncGenASend_Type
// skipped _PyAsyncGenWrappedValue_Type
// skipped _PyAsyncGenAThrow_Type
}

// skipped PyAsyncGen_New
Expand Down
4 changes: 2 additions & 2 deletions src/ffi/intrcheck.rs
Expand Up @@ -20,6 +20,6 @@ extern "C" {
#[cfg_attr(PyPy, link_name = "PyPyOS_AfterFork")]
pub fn PyOS_AfterFork();

// skipped non-limited _PyOS_IsMainThread
// skipped non-limited Windows _PyOS_SigintEvent
// skipped non-limited _PyOS_IsMainThread
// skipped non-limited Windows _PyOS_SigintEvent
}

0 comments on commit d79f1f3

Please sign in to comment.