summaryrefslogtreecommitdiff
path: root/lib/xref.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-28 15:19:24 +0200
committerDavid Lamparter <equinox@diac24.net>2021-02-01 17:28:11 +0100
commitfeb06e7a93af3642d23cad951e2eaf544025f64a (patch)
tree06e07eb6c26b661b3fb152ec07f585cd499f1785 /lib/xref.h
parent131879fb926798bfefd80b0e2cba266919c5be1d (diff)
lib/xref: add xrefs for DEFUNs
This allows grabbing a list of all DEFUNs and their help texts through the xref extraction mechanics. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/xref.h')
-rw-r--r--lib/xref.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xref.h b/lib/xref.h
index 9b5bcffc01..29c68820fd 100644
--- a/lib/xref.h
+++ b/lib/xref.h
@@ -29,6 +29,8 @@ enum xref_type {
XREFT_THREADSCHED = 0x100,
XREFT_LOGMSG = 0x200,
+
+ XREFT_DEFUN = 0x300,
};
/* struct xref is the "const" part; struct xrefdata is the writable part. */