bve-native 0.0.1

Remaking OpenBVE using a modern architecture, using Unity and Rust. C API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#if defined(__cplusplus) && (__cplusplus >= 201703)
	#define BVE_NO_DISCARD [[nodiscard]]
#elif defined(__GNUC__)
	#define BVE_NO_DISCARD __attribute__ ((warn_unused_result))
#elif defined(_MSC_VER)
	#define BVE_NO_DISCARD _Check_return_
#else
	#define BVE_NO_DISCARD
#endif