4f870e0f96c7a1a756eecef72d4a475c88487fac
1 #ifndef _PSI_TYPES_IMPL_ARG_H
2 #define _PSI_TYPES_IMPL_ARG_H
4 typedef struct impl_arg
{
12 typedef struct impl_vararg
{
14 struct impl_args
*args
;
20 static inline impl_arg
*init_impl_arg(impl_type
*type
, impl_var
*var
, impl_def_val
*def
) {
21 impl_arg
*arg
= calloc(1, sizeof(*arg
));
29 static inline void free_impl_arg(impl_arg
*arg
) {
30 free_impl_type(arg
->type
);
31 free_impl_var(arg
->var
);
33 free_impl_def_val(arg
->def
);