commit | d2c123c27db841c6c11a63de9c144823d2b1ba76 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Fri Jun 12 21:46:56 2009 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Fri Jun 12 21:46:57 2009 +0930 |
tree | ee9de1ca10681c1f632020783e8a31ec61f35c4e | |
parent | 45fcc70c0b6ee0c508e1fdb5fef735c3546803f4 [diff] |
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: Rusty Russell <rusty@rustcorp.com.au>