corda/experimental/cpp-serializer/include/debug.h
Katelyn Baker 913ba1d46e
NOTICK - Initial work on a non JVM (C++) serialiser (#5368)
Currently, it's more of a blob inspector than a full-blown
implementation, but this code does have the ability to understand a Corda
serialized blob and build a set of deserialisers to handle a blob. It
does this in the same way the native java implementation works by
interrogating the types (as per the definition in the envelope) and
building recursive type readers that are able to pull the relevant
information out of the byte stream.

Lots of future work to undertake, but as a starting point its a little
bit useful with the scope it could be made much more useful with some
work.
2019-08-15 21:16:20 +01:00

16 lines
390 B
C++

#pragma once
/******************************************************************************/
#define AMQP_DEBUG 0
/******************************************************************************/
#if defined AMQP_DEBUG && AMQP_DEBUG >= 1
#define DBG(X) std::cout << X
#else
#define DBG(X)
#endif
/******************************************************************************/