From 05b00edfd45bc71d6f97082d6370d28a161bdc22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A1nos=20Benjamin=20Antal?=
 <antaljanosbenjamin@users.noreply.github.com>
Date: Wed, 3 Aug 2022 15:15:53 +0200
Subject: [PATCH] Declare mgp_func_context outside the callback function (#481)

---
 include/mg_procedure.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/mg_procedure.h b/include/mg_procedure.h
index b4a9f7592..d4f3d903f 100644
--- a/include/mg_procedure.h
+++ b/include/mg_procedure.h
@@ -1512,6 +1512,10 @@ enum mgp_error mgp_module_add_transformation(struct mgp_module *module, const ch
 ///
 ///@{
 
+/// State of the database that is exposed to magic functions. Currently it is unused, but it enables extending the
+/// functionalities of magic functions in future without breaking the API.
+struct mgp_func_context;
+
 /// Add a required argument to a function.
 ///
 /// The order of the added arguments corresponds to the signature of the openCypher function.