summaryrefslogtreecommitdiff
path: root/src/c_lang/fieldstat_binding.rs
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-10-08 14:32:12 +0800
committerchenzizhan <[email protected]>2023-10-08 14:32:12 +0800
commit2161dc099e73aeeb7627a64728a1af573791d442 (patch)
treee9d22346a5a7ffded853fe5907acbaeb25a704cc /src/c_lang/fieldstat_binding.rs
parentf9d79168f2f992ba1a825716ce8cd98290d96101 (diff)
export with fs handleczz_pub
Diffstat (limited to 'src/c_lang/fieldstat_binding.rs')
-rw-r--r--src/c_lang/fieldstat_binding.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/c_lang/fieldstat_binding.rs b/src/c_lang/fieldstat_binding.rs
index b0fde7e..877feb2 100644
--- a/src/c_lang/fieldstat_binding.rs
+++ b/src/c_lang/fieldstat_binding.rs
@@ -415,7 +415,7 @@ pub struct fieldstat_json_exporter {
_unused: [u8; 0],
}
extern "C" {
- pub fn fieldstat_json_exporter_new(instance: *const fieldstat) -> *mut fieldstat_json_exporter;
+ pub fn fieldstat_json_exporter_new() -> *mut fieldstat_json_exporter;
}
extern "C" {
pub fn fieldstat_json_exporter_set_global_tag(
@@ -436,12 +436,14 @@ extern "C" {
extern "C" {
pub fn fieldstat_json_exporter_export(
exporter: *const fieldstat_json_exporter,
+ instance: *const fieldstat,
timestamp: *const TimeVal,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn fieldstat_json_exporter_export_array(
exporter: *const fieldstat_json_exporter,
+ instance: *const fieldstat,
timestamp: *const TimeVal,
output: *mut *mut *mut ::std::os::raw::c_char,
output_size: *mut usize,