]> granicus.if.org Git - graphviz/commitdiff
use C++ way of #including C headers in SWIG bindings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 2 Sep 2021 02:08:28 +0000 (19:08 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 7 Sep 2021 14:18:07 +0000 (07:18 -0700)
tclpkg/gv/gv.cpp

index d9f6844f87c6c44105dbae7b0e74526197d2da75..cb00a55d588c9cba847d035bf743f28aea25169f 100644 (file)
@@ -8,8 +8,8 @@
  * Contributors: Details at https://graphviz.org
  *************************************************************************/
 
-#include <string.h>
-#include <stdlib.h>
+#include <cstring>
+#include <cstdlib>
 #include <gvc/gvc.h>
 #include <string>