mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
22 lines
829 B
C++
22 lines
829 B
C++
|
|
/******************************************************************************/
|
|
/* 0MQ Internal Use */
|
|
/******************************************************************************/
|
|
|
|
#define LIBZMQ_UNUSED(object) (void) object
|
|
#define LIBZMQ_DELETE(p_object) \
|
|
{ \
|
|
delete p_object; \
|
|
p_object = 0; \
|
|
}
|
|
|
|
/******************************************************************************/
|
|
|
|
#if !defined ZMQ_NOEXCEPT
|
|
#if defined ZMQ_HAVE_NOEXCEPT
|
|
#define ZMQ_NOEXCEPT noexcept
|
|
#else
|
|
#define ZMQ_NOEXCEPT
|
|
#endif
|
|
#endif
|