mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-09 16:43:51 +00:00
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
// Interfaces for the SpacemanDMM linter, define'd to nothing when the linter
|
|
// is not in use.
|
|
|
|
// The SPACEMAN_DMM define is set by the linter and other tooling when it runs.
|
|
#ifdef SPACEMAN_DMM
|
|
#define RETURN_TYPE(X) set SpacemanDMM_return_type = X
|
|
#define SHOULD_CALL_PARENT(X) set SpacemanDMM_should_call_parent = X
|
|
#define UNLINT(X) SpacemanDMM_unlint(X)
|
|
#define SHOULD_NOT_OVERRIDE(X) set SpacemanDMM_should_not_override = X
|
|
#define SHOULD_NOT_SLEEP(X) set SpacemanDMM_should_not_sleep = X
|
|
#define SHOULD_BE_PURE(X) set SpacemanDMM_should_be_pure = X
|
|
#define PRIVATE_PROC(X) set SpacemanDMM_private_proc = X
|
|
#define PROTECTED_PROC(X) set SpacemanDMM_protected_proc = X
|
|
#define VAR_FINAL var/SpacemanDMM_final
|
|
#define VAR_PRIVATE var/SpacemanDMM_private
|
|
#define VAR_PROTECTED var/SpacemanDMM_protected
|
|
#else
|
|
#define RETURN_TYPE(X)
|
|
#define SHOULD_CALL_PARENT(X)
|
|
#define UNLINT(X) X
|
|
#define SHOULD_NOT_OVERRIDE(X)
|
|
#define SHOULD_NOT_SLEEP(X)
|
|
#define SHOULD_BE_PURE(X)
|
|
#define PRIVATE_PROC(X)
|
|
#define PROTECTED_PROC(X)
|
|
#define VAR_FINAL var
|
|
#define VAR_PRIVATE var
|
|
#define VAR_PROTECTED var
|
|
#endif
|
|
|
|
/proc/auxtools_stack_trace(msg)
|
|
CRASH(msg)
|
|
|
|
/proc/enable_debugging()
|
|
CRASH("Auxtools not found")
|
|
|
|
/proc/auxtools_expr_stub()
|
|
CRASH("Auxtools not found")
|