c: move c files into nostrdb in prep for switchover

This commit is contained in:
William Casarin
2024-01-25 14:30:16 -08:00
committed by Daniel D’Aquino
parent cc75a8450a
commit 954f48b23d
60 changed files with 24 additions and 414 deletions

15
nostrdb/debug.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef PROTOVERSE_DEBUG_H
#define PROTOVERSE_DEBUG_H
#include <stdio.h>
#define unusual(...) fprintf(stderr, "UNUSUAL: " __VA_ARGS__)
#ifdef DEBUG
#define debug(...) printf(__VA_ARGS__)
#else
#define debug(...)
#endif
#endif /* PROTOVERSE_DEBUG_H */