fix: set no_includes=false in 21 cbindgen.toml for auto type resolution
This commit is contained in:
@@ -14,7 +14,7 @@ after_includes = """
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -13,7 +13,7 @@ after_includes = """
|
||||
#define IFTODT(x) ((x)>>12 & 017)
|
||||
#define DTTOIF(x) ((x)<<12)
|
||||
"""
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
sys_includes = ["stdarg.h", "stdio.h", "features.h"]
|
||||
include_guard = "_RELIBC_ERR_H"
|
||||
language = "C"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
@@ -7,7 +7,7 @@ include_guard = "_RELIBC_GRP_H"
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
usize_is_size_t = true
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -3,7 +3,7 @@ include_guard = "_RELIBC_LANGINFO_H"
|
||||
after_includes = "#include <bits/locale-t.h> // locale_t"
|
||||
language = "C"
|
||||
style = "tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -9,7 +9,7 @@ after_includes = """
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -12,7 +12,7 @@ trailer = """
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[export.rename]
|
||||
|
||||
@@ -101,7 +101,7 @@ extern const struct in6_addr in6addr_loopback;
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[export]
|
||||
|
||||
@@ -5,7 +5,7 @@ after_includes = """
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -34,7 +34,7 @@ struct sigaction {
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -18,7 +18,7 @@ long double strtold(const char *nptr, char **endptr);
|
||||
"""
|
||||
language = "C"
|
||||
style = "Type"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -12,7 +12,7 @@ after_includes = """
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
# make size_t actually size_t instead of uintptr_t (which would require stdint.h)
|
||||
usize_is_size_t = true
|
||||
|
||||
@@ -35,7 +35,7 @@ struct sockaddr_storage {
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -6,7 +6,7 @@ sys_includes = ["sys/types.h"]
|
||||
include_guard = "_RELIBC_SYS_STATVFS_H"
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -2,7 +2,7 @@ sys_includes = ["sys/types.h"]
|
||||
include_guard = "_SYS_TIMEB_H"
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -2,7 +2,7 @@ sys_includes = ["sys/types.h"]
|
||||
include_guard = "_SYS_TIMES_H"
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -8,7 +8,7 @@ sys_includes = ["bits/iovec.h"]
|
||||
include_guard = "_RELIBC_SYS_UIO_H"
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -13,7 +13,7 @@ after_includes = """
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -2,7 +2,7 @@ sys_includes = ["sys/types.h", "features.h"]
|
||||
include_guard = "_RELIBC_UTIME_H"
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
@@ -46,7 +46,7 @@ typedef struct {} mbstate_t;
|
||||
include_guard = "_RELIBC_WCHAR_H"
|
||||
language = "C"
|
||||
style = "Type"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[export]
|
||||
|
||||
@@ -2,7 +2,7 @@ sys_includes = ["wchar.h" ]
|
||||
include_guard = "_RELIBC_WCTYPE_H"
|
||||
language = "C"
|
||||
style = "Type"
|
||||
no_includes = true
|
||||
no_includes = false
|
||||
cpp_compat = true
|
||||
|
||||
[enum]
|
||||
|
||||
Reference in New Issue
Block a user