JASSv2
source
asserts.h
Go to the documentation of this file.
1
/*
2
ASSERT.H
3
--------
4
Copyright (c) 2016 Andrew Trotman
5
Released under the 2-clause BSD license (See:https://en.wikipedia.org/wiki/BSD_licenses)
6
*/
13
#pragma once
14
15
#include <stdlib.h>
16
17
/*
18
JASS_ASSERT()
19
-------------
20
*/
33
#define JASS_assert(expression) ((expression) ? ((void)0) : JASS::fail(__func__, __FILE__, __LINE__, #expression))
34
35
namespace
JASS
36
{
37
/*
38
FAIL()
39
------
40
*/
48
void
fail(
const
char
*
function
,
const
char
*file,
size_t
line,
const
char
*expression);
49
}
JASS
Definition:
compress_integer_elias_delta_simd.c:23
Generated by
1.8.13