webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros
type_check.h File Reference
#include <openssl/base.h>

Go to the source code of this file.

Macros

#define CHECKED_CAST(to, from, p)   ((to) (1 ? (p) : (from)0))
 
#define CHECKED_PTR_OF(type, p)   CHECKED_CAST(void*, type*, (p))
 
#define OPENSSL_COMPILE_ASSERT(cond, msg)   typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]
 

Macro Definition Documentation

◆ CHECKED_CAST

#define CHECKED_CAST (   to,
  from,
  p 
)    ((to) (1 ? (p) : (from)0))

◆ CHECKED_PTR_OF

#define CHECKED_PTR_OF (   type,
  p 
)    CHECKED_CAST(void*, type*, (p))

◆ OPENSSL_COMPILE_ASSERT

#define OPENSSL_COMPILE_ASSERT (   cond,
  msg 
)    typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]