mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-21 20:28:14 +01:00
push
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// Adds an utf-8 header...? only ever used on circuitry so when wiremod arrives...
|
||||
#define UTF8HEADER "<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /><meta http-equiv='X-UA-Compatible' content='IE=edge' />"
|
||||
/// A shorthand for ternary operators to simulate a null-coalescing operator. Returns the first argument if its defined, otherwise, second.
|
||||
#define NULL_COALESCE(var, default) ((var) ? (var) : (default))
|
||||
#define NULL_COALESCE(var, default) (isnull(var) ? (default) : (var))
|
||||
|
||||
Reference in New Issue
Block a user