From 3ad9eb42b9734d72c3f6fbc3d3e107d21a32b589 Mon Sep 17 00:00:00 2001 From: franchioping Date: Wed, 18 Mar 2026 21:45:05 +0000 Subject: [PATCH] add pragma once --- cbindgen.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbindgen.toml b/cbindgen.toml index 226d713..f3d2293 100644 --- a/cbindgen.toml +++ b/cbindgen.toml @@ -13,7 +13,7 @@ language = "C++" # header = "/* Text to put at the beginning of the generated file. Probably a license. */" # trailer = "/* Text to put at the end of the generated file */" # include_guard = "my_bindings_h" -# pragma_once = true +pragma_once = true # autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" include_version = false namespace = "dcont"