YeltsinDB/inc/YeltsinDB/macro.h

9 lines
176 B
C
Raw Normal View History

2019-10-28 20:47:53 +10:00
#pragma once
/**
* @file macro.h
* @brief The macros used in the engine.
*/
/** @brief Return `err` if `x` is null. */
#define THROW_IF_NULL(x, err) if (!(x)) return (err)