Skip to content
Commit d2c123c2 authored by Rusty Russell's avatar Rusty Russell
Browse files

module_param: add __same_type convenience wrapper for __builtin_types_compatible_p



Impact: new API

__builtin_types_compatible_p() is a little awkward to use: it takes two
types rather than types or variables, and it's just damn long.

(typeof(type) == type, so this works on types as well as vars).

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 45fcc70c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment