From 6beefc2f9cdb4d627c59b19ed0357057cd7ec279 Mon Sep 17 00:00:00 2001 From: DGamerL <108773801+DGamerL@users.noreply.github.com> Date: Sun, 15 Dec 2024 22:15:11 +0100 Subject: [PATCH] Fixes an autodoc (#27590) --- code/__DEFINES/__proc_refs.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/__DEFINES/__proc_refs.dm b/code/__DEFINES/__proc_refs.dm index 74d404c7980..19fa8e551d2 100644 --- a/code/__DEFINES/__proc_refs.dm +++ b/code/__DEFINES/__proc_refs.dm @@ -1,6 +1,9 @@ -/// Validates the proc exists on this type (or global unfortunately) +/// Validates the proc exists on this type #define PROC_REF(X) (nameof(.proc/##X)) +/// Validates the proc exists on the specified type #define TYPE_PROC_REF(TYPE, X) (nameof(##TYPE.proc/##X)) +/// Validates the proc exists on global #define GLOBAL_PROC_REF(X) (/proc/##X) + #define NAMEOF_STATIC(datum, X) (#X || type::##X) #define CALL_EXT call_ext