Documentation for the names

This commit is contained in:
Jeong Yunwon
2022-04-18 03:43:44 +09:00
parent 82eb352e9f
commit 71acc6c544

View File

@@ -1,3 +1,16 @@
//! Essential types for object models
//!
//! +-------------------------+--------------+---------------+
//! | Management | Typed | Untyped |
//! +-------------------------+--------------+---------------+
//! | Interpreter-independent | Py<T> | PyObject |
//! | Reference-counted | PyRef<T> | PyObjectRef |
//! | Weak | PyWeakRef<T> | PyRef<PyWeak> |
//! +-------------------------+--------------+---------------+
//!
//! PyRef<PyWeak> may looking like to be called as PyObjectWeak by the rule,
//! but not to do to remember it is a PyRef object.
use crate::common::atomic::{OncePtr, PyAtomic, Radium};
use crate::common::linked_list::{Link, LinkedList, Pointers};
use crate::common::lock::{PyMutex, PyMutexGuard, PyRwLock};