Zephyr API Documentation 4.5.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
k_obj_range Struct Reference

Contiguous range of permanent objects of one type. More...

#include <zephyr/kernel/obj_core.h>

Data Fields

const void * start
 First element.
const void * end
 One past the last element.
size_t stride
 Element size.
bool indirect
 Elements are pointers to the objects.

Detailed Description

Contiguous range of permanent objects of one type.

Objects in the range are enumerated by walking it, so they are never registered at run time. The range holds either the objects themselves or, when indirect is set, pointers to them.

Field Documentation

◆ end

const void* k_obj_range::end

One past the last element.

◆ indirect

bool k_obj_range::indirect

Elements are pointers to the objects.

◆ start

const void* k_obj_range::start

First element.

◆ stride

size_t k_obj_range::stride

Element size.


The documentation for this struct was generated from the following file: