-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathcbindgen.toml
More file actions
46 lines (40 loc) · 973 Bytes
/
cbindgen.toml
File metadata and controls
46 lines (40 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language = "C"
tab_width = 2
include_guard = "DDTRACE_PHP_H"
style = "both"
header = """
struct _zend_string;
typedef struct _zend_string _zend_string;
"""
no_includes = true
sys_includes = ["stdbool.h", "stddef.h", "stdint.h"]
includes = ["common.h", "telemetry.h", "sidecar.h"]
[export]
prefix = "ddog_"
renaming_overrides_prefixing = true
[export.mangle]
rename_types = "PascalCase"
[export.rename]
"ParseTagsResult" = "ddog_Vec_Tag_ParseResult"
"PushTagResult" = "ddog_Vec_Tag_PushResult"
"ZendString" = "_zend_string"
"FILE" = "FILE"
"EndpointConfig" = "ddog_crasht_EndpointConfig"
[enum]
prefix_with_name = true
rename_variants = "ScreamingSnakeCase"
[parse]
parse_deps = true
include = [
"libdd-common",
"libdd-telemetry",
"libdd-telemetry-ffi",
"libdd-common-ffi",
"datadog-crashtracker-ffi",
"datadog-sidecar",
"datadog-ipc",
"datadog-live-debugger",
"datadog-live-debugger-ffi",
"datadog-remote-config",
"uuid"
]