Add mgp_path_equal to C API

Reviewers: ipaljak, mferencevic

Reviewed By: ipaljak

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2697
This commit is contained in:
Teon Banek
2020-03-02 11:35:13 +01:00
parent f5a94d6e29
commit b922ca75d0
2 changed files with 19 additions and 0 deletions

View File

@@ -378,6 +378,10 @@ const struct mgp_vertex *mgp_path_vertex_at(const struct mgp_path *path,
/// NULL is returned if index is out of range.
const struct mgp_edge *mgp_path_edge_at(const struct mgp_path *path,
size_t index);
/// Return non-zero if given paths are equal, otherwise 0.
int mgp_path_equal(const struct mgp_path *p1, const struct mgp_path *p2);
///@}
/// @name Procedure Result