9#ifndef ALLOW_EXPERIMENTAL_API
11#define __rte_experimental \
12__attribute__((deprecated("Symbol is not yet part of stable ABI"), \
13section(".text.experimental")))
17#define __rte_experimental \
18__attribute__((section(".text.experimental")))
22#ifndef __has_attribute
24#define __has_attribute(x) 0
27#if !defined ALLOW_INTERNAL_API && __has_attribute(error)
29#define __rte_internal \
30__attribute__((error("Symbol is not public ABI"), \
31section(".text.internal")))
33#elif !defined ALLOW_INTERNAL_API && __has_attribute(diagnose_if)
35#define __rte_internal \
36__attribute__((diagnose_if(1, "Symbol is not public ABI", "error"), \
37section(".text.internal")))
41#define __rte_internal \
42__attribute__((section(".text.internal")))