#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <util/util.h>
#include <util/list.h>
Go to the source code of this file.
|
#define | objectContainer(p, type, functions) ((type *)((uint8_t *)__objectCheckType((p), (functions)) - offsetof(type, obj))) |
|
#define | objectAddRef(p) __objectAddRef(&(p)->obj) |
|
#define | objectRelease(p) __objectRelease(&(p)->obj) |
|
#define | objectGetMinHandle(p) __objectGetMinHandle(&(p)->obj) |
|
#define | objectShutdown(p, a) __objectShutdown(&(p)->obj, a) |
|
#define | objectGetStatus(p, a) __objectGetStatus(&(p)->obj, a) |
|
#define | objectWait(p, a, b) __objectWait(&(p)->obj, a, b) |
|
#define | objectSignal(p, a) __objectSignal(&(p)->obj, a) |
|
#define | objectWrite(p, a, b) __objectWrite(&(p)->obj, a, b) |
|
#define | objectRead(p, a, b) __objectRead(&(p)->obj, a, b) |
|
#define | objectAttachObj(p, a, b, c) __objectAttachObj(&(p)->obj, a, b, c) |
|
#define | objectDetachObj(p, a) __objectDetachObj(&(p)->obj, a) |
|
◆ objectAddRef
#define objectAddRef |
( |
|
p | ) |
__objectAddRef(&(p)->obj) |
◆ objectAttachObj
#define objectAttachObj |
( |
|
p, |
|
|
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| __objectAttachObj(&(p)->obj, a, b, c) |
◆ objectContainer
#define objectContainer |
( |
|
p, |
|
|
|
type, |
|
|
|
functions |
|
) |
| ((type *)((uint8_t *)__objectCheckType((p), (functions)) - offsetof(type, obj))) |
◆ objectDetachObj
#define objectDetachObj |
( |
|
p, |
|
|
|
a |
|
) |
| __objectDetachObj(&(p)->obj, a) |
◆ objectGetMinHandle
#define objectGetMinHandle |
( |
|
p | ) |
__objectGetMinHandle(&(p)->obj) |
◆ objectGetStatus
#define objectGetStatus |
( |
|
p, |
|
|
|
a |
|
) |
| __objectGetStatus(&(p)->obj, a) |
◆ objectRead
#define objectRead |
( |
|
p, |
|
|
|
a, |
|
|
|
b |
|
) |
| __objectRead(&(p)->obj, a, b) |
◆ objectRelease
#define objectRelease |
( |
|
p | ) |
__objectRelease(&(p)->obj) |
◆ objectShutdown
#define objectShutdown |
( |
|
p, |
|
|
|
a |
|
) |
| __objectShutdown(&(p)->obj, a) |
◆ objectSignal
#define objectSignal |
( |
|
p, |
|
|
|
a |
|
) |
| __objectSignal(&(p)->obj, a) |
◆ objectWait
#define objectWait |
( |
|
p, |
|
|
|
a, |
|
|
|
b |
|
) |
| __objectWait(&(p)->obj, a, b) |
◆ objectWrite
#define objectWrite |
( |
|
p, |
|
|
|
a, |
|
|
|
b |
|
) |
| __objectWrite(&(p)->obj, a, b) |