On Fri, Oct 4, 2019 at 1:10 AM Andrii Nakryiko <andr...@fb.com> wrote:
>
> Due to a quirky C syntax of declaring pointers to array or function
> prototype, existing __type() macro doesn't work with map key/value types
> that are array or function prototype. One has to create a typedef first
> and use it to specify key/value type for a BPF map.  By using typeof(),
> pointer to type is now handled uniformly for all kinds of types. Convert
> one of self-tests as a demonstration.
>
> Signed-off-by: Andrii Nakryiko <andr...@fb.com>

Applied. Thanks

Reply via email to