commit 5ea9bd4afc221818982385af018f2ae51ffdb57a
parent ad9f34fbbd0957427edc21997363ba19d5508319
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 25 Apr 2023 11:49:21 +0200
Fix helper headers
Compilation fails when helper headers are included in C++ files
Diffstat:
3 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/sg2d_sXd_helper.h b/src/sg2d_sXd_helper.h
@@ -60,6 +60,4 @@ sg2d_sXd_geometry_get_position
FOR_EACH(i, 0, SG2D_GEOMETRY_DIMENSION) coord[i] = (float)tmp[i];
}
-END_DECLS
-
#endif /* SG2D_S2D_HELPER_H__ */
diff --git a/src/sg2d_sdisXd_helper.h b/src/sg2d_sdisXd_helper.h
@@ -70,6 +70,4 @@ sg2d_sdisXd_geometry_get_interface
*bound = ctx->app_interface_getter(itri, ctx->app_interface_data);
}
-END_DECLS
-
#endif /* SG2D_SDISXD_HELPER_H__ */
diff --git a/src/sg2d_sencXd_helper.h b/src/sg2d_sencXd_helper.h
@@ -65,6 +65,4 @@ sg2d_sencXd_geometry_get_position
SG2D(geometry_get_unique_vertex(geometry, ivert, coord));
}
-END_DECLS
-
#endif /* SG2D_SENC2D_HELPER_H__ */