File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1
1
//! Low-Level bindings for NumPy C API.
2
2
//!
3
3
//! https://docs.scipy.org/doc/numpy/reference/c-api.html
4
- //!
5
- //! Most of functions in this submodule are unsafe.
6
- //! If you use functions in this submodule, you need to understand
7
- //! basic usage of Python C API, especially for the reference counting.
8
- //!
9
- //! - http://docs.python.jp/3/c-api/
10
- //! - http://dgrunwald.github.io/rust-pyo3/doc/pyo3/
4
+ #![ allow( non_camel_case_types) ]
11
5
12
6
use pyo3:: ffi;
13
7
use std:: ffi:: CString ;
Original file line number Diff line number Diff line change 1
1
//! Low-Lebel binding for NumPy C API C-objects
2
2
//!
3
3
//! https://docs.scipy.org/doc/numpy/reference/c-api.types-and-structures.html
4
- #![ allow( non_camel_case_types, non_snake_case ) ]
4
+ #![ allow( non_camel_case_types) ]
5
5
6
6
use libc:: FILE ;
7
7
use pyo3:: ffi:: * ;
Original file line number Diff line number Diff line change 1
- #![ allow( non_camel_case_types) ]
2
-
3
1
use pyo3:: ffi:: { Py_hash_t , Py_intptr_t , Py_uintptr_t } ;
4
2
use std:: os:: raw:: * ;
5
3
You can’t perform that action at this time.
0 commit comments