pyo3_ffi

Function PyDateTimeAPI

Source
pub unsafe fn PyDateTimeAPI() -> *mut PyDateTime_CAPI
Available on non-Py_LIMITED_API only.
Expand description

Returns a pointer to a PyDateTime_CAPI instance

ยงNote

This function will return a null pointer until PyDateTime_IMPORT is called