Astarte device API for Zephyr
0.7.2
Astarte device SDK for Zephyr RTOS
Loading...
Searching...
No Matches
util.h
Go to the documentation of this file.
1
/*
2
* (C) Copyright 2024, SECO Mind Srl
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ASTARTE_DEVICE_SDK_UTIL_H
8
#define ASTARTE_DEVICE_SDK_UTIL_H
9
27
// NOLINTBEGIN(bugprone-macro-parentheses) TYPE parameter can't be enclosed in parenthesis.
28
#define ASTARTE_UTIL_DEFINE_ARRAY(NAME, TYPE) \
29
typedef struct \
30
{ \
31
TYPE *buf; \
32
size_t len; \
33
} NAME;
34
// NOLINTEND(bugprone-macro-parentheses)
35
39
#endif
/* ASTARTE_DEVICE_SDK_UTIL_H */
include
astarte_device_sdk
util.h
Generated on Wed Oct 23 2024 07:50:33 for Astarte device API for Zephyr by
1.12.0