summaryrefslogtreecommitdiff
path: root/src/c_lang/fieldstat_binding.rs
diff options
context:
space:
mode:
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,