2021-11-30 03:41:45 +00:00
|
|
|
/** @file
|
|
|
|
*
|
2021-07-09 18:46:39 +00:00
|
|
|
* Internal definitions for the Wireshark Memory Manager
|
|
|
|
* Copyright 2012, Evan Huus <eapache@gmail.com>
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WMEM_INT_H__
|
|
|
|
#define __WMEM_INT_H__
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
2023-01-09 12:58:45 +00:00
|
|
|
#ifdef WS_DEBUG
|
2021-07-09 18:46:39 +00:00
|
|
|
#define ASSERT(...) g_assert(__VA_ARGS__)
|
2023-01-09 12:58:45 +00:00
|
|
|
#else
|
|
|
|
#define ASSERT(...) (void)0
|
2023-01-12 00:30:50 +00:00
|
|
|
#endif /* WS_DISABLE_DEBUG */
|
2021-07-09 18:46:39 +00:00
|
|
|
|
|
|
|
#endif /* __WMEM_INT_H__ */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Editor modelines - https://www.wireshark.org/tools/modelines.html
|
|
|
|
*
|
|
|
|
* Local variables:
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* tab-width: 8
|
|
|
|
* indent-tabs-mode: nil
|
|
|
|
* End:
|
|
|
|
*
|
|
|
|
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
|
|
|
* :indentSize=4:tabSize=8:noTabs=true:
|
|
|
|
*/
|