Simple Lua
A Simple C++ Lua Wrapper
Loading...
Searching...
No Matches
Def.hpp
1
#pragma once
2
3
#include <iostream>
4
#include <sstream>
5
#include <cstdlib>
6
#include <filesystem>
7
8
#define SL_ASSERT(expr, msg) if (!(expr)) { std::cout << "Assertion (" << #expr << ") failed, file " << std::filesystem::path(__FILE__).filename().string() << ", line " << __LINE__ << ": " << msg << "\n"; std::terminate(); }
9
10
#ifdef _MSC_VER
11
# ifdef SL_BUILD
12
# define SL_SYMBOL __declspec(dllexport)
13
# else
14
# define SL_SYMBOL __declspec(dllimport)
15
# endif
16
#else
17
#define SL_SYMBOL
18
#endif
19
include
SL
Def.hpp
Generated by
1.11.0