2026-04-02 17:04:12 +02:00
|
|
|
// SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
// Copyright (C) 2010 Andrea Mazzoleni
|
2011-03-01 22:21:30 +01:00
|
|
|
|
2011-03-04 20:59:21 +01:00
|
|
|
/* redefine the malloc for tommy use */
|
2011-03-01 22:21:30 +01:00
|
|
|
#define tommy_malloc malloc_nofail
|
2014-09-26 23:50:01 +02:00
|
|
|
#define tommy_calloc calloc_nofail
|
2026-10-07 18:44:12 +02:00
|
|
|
#define tommy_realloc realloc_nofail
|
2011-03-01 22:21:30 +01:00
|
|
|
#define tommy_free free
|
|
|
|
|
|
2026-06-24 00:15:15 +02:00
|
|
|
#include "os/portable.h"
|
2026-10-07 18:44:12 +02:00
|
|
|
#include "cmdline/support.h" /* for malloc/calloc/realloc_nofail() */
|
2015-01-02 15:53:15 +01:00
|
|
|
|
2011-03-01 22:21:30 +01:00
|
|
|
#include "tommyhash.c"
|
|
|
|
|
#include "tommyarray.c"
|
2013-09-28 09:40:08 +02:00
|
|
|
#include "tommyarrayblkof.c"
|
2014-03-28 21:30:21 +01:00
|
|
|
#include "tommylist.c"
|
2015-10-04 22:02:05 +02:00
|
|
|
#include "tommytree.c"
|
2014-03-28 21:30:21 +01:00
|
|
|
#include "tommyhashdyn.c"
|
2011-03-01 22:21:30 +01:00
|
|
|
|