NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
disk.cc File Reference
#include <service/string.h>
#include <service/logging.h>
#include <nul/baseprogram.h>
#include <service/endian.h>
#include "server.h"
#include "sha.h"

Macros

#define assert_or_ret(cond)   do { if (!(cond)) { Logging::printf("assertion failed in %s:%u: %s\n", __FILE__, __LINE__, #cond); return; } } while(0)

Macro Definition Documentation

#define assert_or_ret (   cond)    do { if (!(cond)) { Logging::printf("assertion failed in %s:%u: %s\n", __FILE__, __LINE__, #cond); return; } } while(0)