Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
typecheck.h File Reference

Go to the source code of this file.

Macros

#define typecheck(type, x)
 
#define typecheck_fn(type, function)
 

Macro Definition Documentation

#define typecheck (   type,
  x 
)
Value:
({ type __dummy; \
typeof(x) __dummy2; \
(void)(&__dummy == &__dummy2); \
1; \
})

Definition at line 8 of file typecheck.h.

#define typecheck_fn (   type,
  function 
)
Value:
({ typeof(type) __tmp = function; \
(void)__tmp; \
})

Definition at line 19 of file typecheck.h.