2018-04-01 13:04:45 +00:00
|
|
|
// Copyright (c) 2017-present PyO3 Project and Contributors
|
2018-05-19 15:27:26 +00:00
|
|
|
//! This crate contains the implementation of the proc macro attributes
|
2018-04-01 13:04:45 +00:00
|
|
|
|
|
|
|
#![recursion_limit = "1024"]
|
|
|
|
|
2019-02-18 19:07:41 +00:00
|
|
|
mod defs;
|
|
|
|
mod func;
|
|
|
|
mod method;
|
|
|
|
mod module;
|
|
|
|
mod pyclass;
|
|
|
|
mod pyfunction;
|
|
|
|
mod pyimpl;
|
|
|
|
mod pymethod;
|
|
|
|
mod pyproto;
|
|
|
|
mod utils;
|
|
|
|
|
|
|
|
pub use module::{add_fn_to_module, process_functions_in_module, py2_init, py3_init};
|
|
|
|
pub use pyclass::{build_py_class, PyClassArgs};
|
|
|
|
pub use pyfunction::PyFunctionAttr;
|
2019-03-16 10:31:55 +00:00
|
|
|
pub use pyimpl::{build_py_methods, impl_methods};
|
2019-02-18 19:07:41 +00:00
|
|
|
pub use pyproto::build_py_proto;
|
|
|
|
pub use utils::get_doc;
|