agileRTOS (zrtos)  Version 0.8.0 (ghostbuster)
vheap_chunk_type.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_TYPE_H
8 #define ZRTOS_VHEAP_CHUNK_TYPE_H
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 
14 #include <zrtos/vheap_type.h>
15 
19 
23 ){
24  thiz->type = type;
25  return true;
26 }
27 
31 ){
32  return thiz->type == type;
33 }
34 
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 #endif
struct _zrtos_vheap_chunk_type_t zrtos_vheap_chunk_type_t
bool zrtos_vheap_chunk_type__is_eq(zrtos_vheap_chunk_type_t *thiz, zrtos_vheap_type_t type)
zrtos_vheap_type_t
Definition: vheap_type.h:14
zrtos_vheap_type_t type
bool zrtos_vheap_chunk_type__init(zrtos_vheap_chunk_type_t *thiz, zrtos_vheap_type_t type)