From 61bed4cd4a7259c59bd6ae566771d5de4692b9b4 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Wed, 16 Feb 2022 12:25:36 +0100
Subject: [PATCH 2/2] Add shortcuts to GWEN_Func_Entry macros

---
 src/base/funcs.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/base/funcs.h b/src/base/funcs.h
index 5a129f4a..efd99f4f 100644
--- a/src/base/funcs.h
+++ b/src/base/funcs.h
@@ -64,6 +64,12 @@ typedef struct {
 #define GWEN_Funcs_Entry_Args(a,b) { a, 0, b, NULL, NULL }
 #define GWEN_Funcs_Entry_DB_NODE_Args(a,b) { a, NULL, NULL, b, NULL }
 
+/* Shortcuts */
+#define GWEN_FE_DAH GWEN_Funcs_Entry_DB_NODE_Args_Help
+#define GWEN_FE_DA GWEN_Funcs_Entry_DB_NODE_Args
+#define GWEN_FE_D GWEN_Funcs_Entry_DB_NODE
+#define GWEN_FE_END GWEN_Funcs_Entry_End
+
 /* Checks if a command variant exists */
 GWENHYWFAR_API
 int GWEN_Funcs_Has_Call(const GWEN_FUNCS *func);
-- 
2.26.2

