mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-20 22:54:46 +00:00
* Bumps compile to 515 (#79134) ## About The Pull Request LSP supports it, let's GOOOOOO I've removed the 515 tests since they're stable, alongside the libcall wrapper. left the rustgcall wrapper cause yaknow memes Just removed all the 515 and 514 particular define wrappers. gaming ## Changelog 🆑 server: Minimum compile version has been bumped to 515. clients still support 514 but we're gonna start using 515 restricted features for serverside now. /🆑 --------- Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com> * Bumps compile to 515 * Fixes a TGS regression in its API --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
12 lines
422 B
Plaintext
12 lines
422 B
Plaintext
/**
|
|
* NAMEOF: Compile time checked variable name to string conversion
|
|
* evaluates to a string equal to "X", but compile errors if X isn't a var on datum.
|
|
* datum may be null, but it does need to be a typed var.
|
|
**/
|
|
#define NAMEOF(datum, X) (#X || ##datum.##X)
|
|
|
|
/**
|
|
* NAMEOF that actually works in static definitions because src::type requires src to be defined
|
|
*/
|
|
#define NAMEOF_STATIC(datum, X) (nameof(type::##X))
|