zephyr::raw

Function k_obj_core_init_and_link

source
pub unsafe extern "C" fn k_obj_core_init_and_link(
    obj_core: *mut k_obj_core,
    type_: *mut k_obj_type,
)
Expand description

@brief Automatically link the kernel object after initializing it

A useful wrapper to both initialize the core of the kernel object and automatically link it into the kernel object type’s list of objects.

@param obj_core Pointer to the kernel object to initialize @param type Pointer to the kernel object type