diff options
Diffstat (limited to 'include/odp/api/abi-default/buffer_types.h')
-rw-r--r-- | include/odp/api/abi-default/buffer_types.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/odp/api/abi-default/buffer_types.h b/include/odp/api/abi-default/buffer_types.h new file mode 100644 index 000000000..9179ae321 --- /dev/null +++ b/include/odp/api/abi-default/buffer_types.h @@ -0,0 +1,32 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright (c) 2017-2018 Linaro Limited + * Copyright (c) 2023 Nokia + */ + +#ifndef ODP_ABI_BUFFER_TYPES_H_ +#define ODP_ABI_BUFFER_TYPES_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** @internal Dummy type for strong typing */ +typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_buffer_t; + +/** @addtogroup odp_buffer + * @{ + */ + +typedef _odp_abi_buffer_t *odp_buffer_t; + +#define ODP_BUFFER_INVALID ((odp_buffer_t)0) + +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif |