rust/bindgen: Use #pragma once
Same as we do for our other headers. Closes: #1585 Approved by: jlebon
This commit is contained in:
parent
5d57025e16
commit
363294c3ef
@ -1,6 +1,6 @@
|
|||||||
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
|
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
|
||||||
language = "C"
|
language = "C"
|
||||||
header = "#include <gio/gio.h>\ntypedef GError RORGError;"
|
header = "#pragma once\n#include <gio/gio.h>\ntypedef GError RORGError;"
|
||||||
trailer = """
|
trailer = """
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(RORTreefile, ror_treefile_free)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(RORTreefile, ror_treefile_free)
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user