Skip to content

Commit

Permalink
Fixes an autodoc (#27590)
Browse files Browse the repository at this point in the history
  • Loading branch information
DGamerL authored Dec 15, 2024
1 parent 0caf77d commit 6beefc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/__DEFINES/__proc_refs.dm
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6beefc2

Please sign in to comment.