diff --git a/wpiutil/src/main/native/cpp/DataLog.cpp b/wpiutil/src/main/native/cpp/DataLog.cpp index af28dbc81c..bbde5e7b7c 100644 --- a/wpiutil/src/main/native/cpp/DataLog.cpp +++ b/wpiutil/src/main/native/cpp/DataLog.cpp @@ -1205,16 +1205,15 @@ void WPI_DataLog_AppendStringArray(struct WPI_DataLog* datalog, int entry, timestamp); } -void WPI_DataLog_AddSchemaString(struct WPI_DataLog* datalog, int entry, - const char* name, const char* type, - const char* schema, int64_t timestamp) { +void WPI_DataLog_AddSchemaString(struct WPI_DataLog* datalog, const char* name, + const char* type, const char* schema, + int64_t timestamp) { reinterpret_cast(datalog)->AddSchema(name, type, schema, timestamp); } -void WPI_DataLog_AddSchema(struct WPI_DataLog* datalog, int entry, - const char* name, const char* type, - const uint8_t* schema, size_t schema_len, - int64_t timestamp) { +void WPI_DataLog_AddSchema(struct WPI_DataLog* datalog, const char* name, + const char* type, const uint8_t* schema, + size_t schema_len, int64_t timestamp) { reinterpret_cast(datalog)->AddSchema( name, type, std::span{schema, schema_len}, timestamp); } diff --git a/wpiutil/src/main/native/include/wpi/DataLog.h b/wpiutil/src/main/native/include/wpi/DataLog.h index 35aea0b71b..6187662c00 100644 --- a/wpiutil/src/main/native/include/wpi/DataLog.h +++ b/wpiutil/src/main/native/include/wpi/DataLog.h @@ -1373,14 +1373,13 @@ void WPI_DataLog_AppendStringArray(struct WPI_DataLog* datalog, int entry, const WPI_DataLog_String* arr, size_t len, int64_t timestamp); -void WPI_DataLog_AddSchemaString(struct WPI_DataLog* datalog, int entry, - const char* name, const char* type, - const char* schema, int64_t timestamp); +void WPI_DataLog_AddSchemaString(struct WPI_DataLog* datalog, const char* name, + const char* type, const char* schema, + int64_t timestamp); -void WPI_DataLog_AddSchema(struct WPI_DataLog* datalog, int entry, - const char* name, const char* type, - const uint8_t* schema, size_t schema_len, - int64_t timestamp); +void WPI_DataLog_AddSchema(struct WPI_DataLog* datalog, const char* name, + const char* type, const uint8_t* schema, + size_t schema_len, int64_t timestamp); #ifdef __cplusplus } // extern "C"