1
0
mirror of synced 2024-12-18 07:05:52 +01:00
bananatools/util/dump.h

16 lines
315 B
C
Raw Normal View History

2023-01-03 05:35:53 +01:00
#pragma once
#include <stddef.h>
#include "hook/iobuf.h"
#ifndef NDEBUG
void dump(const void *ptr, size_t nbytes);
void dump_iobuf(const struct iobuf *iobuf);
void dump_const_iobuf(const struct const_iobuf *iobuf);
#else
#define dump(ptr, nbytes)
#define dump_iobuf(iobuf)
#define dump_const_iobuf(iobuf)
#endif