Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
StringsExport.h
1
// Copyright (c) Stefano Cristiano
2
// SPDX-License-Identifier: MIT
3
#pragma once
4
#include "../Common/CompilerMacrosExport.h"
5
6
#ifndef SC_EXPORT_LIBRARY_STRINGS
7
#define SC_EXPORT_LIBRARY_STRINGS 0
8
#endif
9
#define SC_STRINGS_EXPORT SC_COMPILER_LIBRARY_EXPORT(SC_EXPORT_LIBRARY_STRINGS)
10
11
#include "../Common/Assert.h"
12
13
namespace
SC
14
{
15
SC_DECLARE_ASSERT_PROVIDER(StringsAssert, SC_STRINGS_EXPORT);
16
}
// namespace SC
17
18
#define SC_STRINGS_ASSERT_RELEASE(e) SC_ASSERT_PROVIDER_RELEASE(SC::StringsAssert, e)
19
#define SC_STRINGS_ASSERT_DEBUG(e) SC_ASSERT_PROVIDER_DEBUG(SC::StringsAssert, e)
20
#define SC_STRINGS_TRUST_RESULT(expression) SC_STRINGS_ASSERT_RELEASE(expression)
Libraries
Strings
StringsExport.h
Generated by
1.12.0