From: Jiri Vlasak Date: Mon, 15 Aug 2022 12:18:29 +0000 (+0200) Subject: Make dubins code c++ compatible X-Git-Tag: v0.11.0~2^2~1 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/hubacji1/rrts.git/commitdiff_plain/55fc97a86f11844e59876cb07554fa2fa0ed159e Make dubins code c++ compatible --- diff --git a/incl/dubins.h b/incl/dubins.h index 89c4bbe..5db2ad7 100644 --- a/incl/dubins.h +++ b/incl/dubins.h @@ -8,6 +8,10 @@ #ifndef DUBINS_H #define DUBINS_H +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { LSL = 0, @@ -151,6 +155,8 @@ int dubins_path_endpoint(DubinsPath* path, double q[3]); */ int dubins_extract_subpath(DubinsPath* path, double t, DubinsPath* newpath); +#ifdef __cplusplus +} +#endif #endif /* DUBINS_H */ -