Declare mgp_func_context outside the callback function (#481)

This commit is contained in:
János Benjamin Antal 2022-08-03 15:15:53 +02:00 committed by GitHub
parent 80e0e439b7
commit 05b00edfd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.