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
16
typedef
struct
_zrtos_vheap_chunk_type_t
{
17
zrtos_vheap_type_t
type
;
18
}
zrtos_vheap_chunk_type_t
;
19
20
bool
zrtos_vheap_chunk_type__init
(
21
zrtos_vheap_chunk_type_t
*thiz
22
,
zrtos_vheap_type_t
type
23
){
24
thiz->
type
=
type
;
25
return
true
;
26
}
27
28
bool
zrtos_vheap_chunk_type__is_eq
(
29
zrtos_vheap_chunk_type_t
*thiz
30
,
zrtos_vheap_type_t
type
31
){
32
return
thiz->
type
==
type
;
33
}
34
35
36
#ifdef __cplusplus
37
}
38
#endif
39
#endif
_zrtos_vheap_chunk_type_t
Definition:
vheap_chunk_type.h:16
zrtos_vheap_chunk_type_t
struct _zrtos_vheap_chunk_type_t zrtos_vheap_chunk_type_t
zrtos_vheap_chunk_type__is_eq
bool zrtos_vheap_chunk_type__is_eq(zrtos_vheap_chunk_type_t *thiz, zrtos_vheap_type_t type)
Definition:
vheap_chunk_type.h:28
zrtos_vheap_type_t
zrtos_vheap_type_t
Definition:
vheap_type.h:14
_zrtos_vheap_chunk_type_t::type
zrtos_vheap_type_t type
Definition:
vheap_chunk_type.h:17
zrtos_vheap_chunk_type__init
bool zrtos_vheap_chunk_type__init(zrtos_vheap_chunk_type_t *thiz, zrtos_vheap_type_t type)
Definition:
vheap_chunk_type.h:20
vheap_type.h
zrtos
vheap_chunk_type.h
© 2024 ykat UG (haftungsbeschränkt)