agileRTOS (zrtos)  Version 0.8.0 (ghostbuster)
vheap_chunk_uid.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2024 ykat UG (haftungsbeschraenkt) - All Rights Reserved
3  *
4  * Permission for non-commercial use is hereby granted,
5  * free of charge, without warranty of any kind.
6  */
7 #ifndef ZRTOS_VHEAP_CHUNK_UID_H
8 #define ZRTOS_VHEAP_CHUNK_UID_H
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 
14 typedef struct _zrtos_vheap_chunk_uid_t{
17 
21 ){
22  return a->uid == b->uid ? 0 : -1;
23 }
24 
26  thiz->uid = 0;
27 }
28 
30  return thiz->uid == 0;
31 }
32 
36  return ret;
37 }
38 
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 #endif
void zrtos_vheap_chunk_uid__set_error(zrtos_vheap_chunk_uid_t *thiz)
struct _zrtos_vheap_chunk_uid_t zrtos_vheap_chunk_uid_t
int zrtos_vheap_chunk_uid__cmp(zrtos_vheap_chunk_uid_t *a, zrtos_vheap_chunk_uid_t *b)
bool zrtos_vheap_chunk_uid__is_error(zrtos_vheap_chunk_uid_t *thiz)
zrtos_vheap_chunk_uid_t zrtos_vheap_chunk_uid__error(void)
static uint8_t
Definition: mcp2515.h:159