]> rtime.felk.cvut.cz Git - hubacji1/rrts.git/commitdiff
Make dubins code c++ compatible
authorJiri Vlasak <jiri.vlasak.2@cvut.cz>
Mon, 15 Aug 2022 12:18:29 +0000 (14:18 +0200)
committerJiri Vlasak <jiri.vlasak.2@cvut.cz>
Mon, 15 Aug 2022 12:21:00 +0000 (14:21 +0200)
incl/dubins.h

index 89c4bbe9480470f9930c31552b92006df4aed4a7..5db2ad7a425326d9a4ed0ce334c5989f57d3e859 100644 (file)
@@ -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 */
-