Home
last modified time | relevance | path

Searched refs:scalar_type (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/fsdev/
H A Dp9array.h88 #define P9ARRAY_DECLARE_TYPE(scalar_type) \ argument
89 typedef struct P9Array##scalar_type { \
91 scalar_type first[]; \
92 } P9Array##scalar_type; \
94 void p9array_new_##scalar_type(scalar_type **auto_var, size_t len); \
95 void p9array_auto_free_##scalar_type(scalar_type **auto_var); \
107 #define P9ARRAY_DEFINE_TYPE(scalar_type, scalar_cleanup_func) \ argument
108 void p9array_new_##scalar_type(scalar_type **auto_var, size_t len) \
110 p9array_auto_free_##scalar_type(auto_var); \
111 P9Array##scalar_type *arr = g_malloc0(sizeof(P9Array##scalar_type) + \
[all …]