From 3cf65cde6a94a3c6685ac1231472bf96fcea7b88 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 16 Jan 2019 10:48:31 +0100 Subject: mg2d: add a function for getting maximum supported fd_stencil This is needed for the caller to know the number of boundary zones that can be filled. API bump. --- mg2d.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mg2d.h') diff --git a/mg2d.h b/mg2d.h index f697b76..834e717 100644 --- a/mg2d.h +++ b/mg2d.h @@ -302,4 +302,9 @@ void mg2d_solver_free(MG2DContext **ctx); */ void mg2d_print_stats(MG2DContext *ctx, const char *prefix); +/** + * @return maximum supported value of fd_stencil. + */ +unsigned int mg2d_max_fd_stencil(void); + #endif /* MG2D_H */ -- cgit v1.2.3