From 4d366c1831925b7dca69f7d3e79afa37521f6c1b Mon Sep 17 00:00:00 2001 From: Paulo Meira <10246101+PMeira@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:26:54 -0300 Subject: [PATCH] [skip ci] Header: fix `Alt_CE_Get_RegisterValues` --- docs/changelog.md | 5 +++++ include/dss_capi.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 0723e1388..afd3fb168 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -17,6 +17,11 @@ # Versions 0.14.x +## Version 0.14.2 (to be released) + +- Alt/CE: Fix `RegisterValues` in the C header. +- Alt/PDE: Check for missing solution in a few functions. + ## Version 0.14.1 (2024-02-16) Minor release to address issues found through AltDSS-Python. These shouldn't affect software that use only the classic API. diff --git a/include/dss_capi.h b/include/dss_capi.h index 9bcfeebe9..aa59a6a1a 100644 --- a/include/dss_capi.h +++ b/include/dss_capi.h @@ -7750,7 +7750,7 @@ extern "C" { DSS_CAPI_DLL void* Alt_PCE_Get_EnergyMeter(void* elem); DSS_CAPI_DLL const char* Alt_PCE_Get_EnergyMeterName(void* elem); DSS_CAPI_DLL void Alt_CE_Get_RegisterNames(char*** resultPtr, int32_t *resultDims, void* pce); - DSS_CAPI_DLL void Alt_CE_Get_RegisterValues(void*** resultPtr, int32_t *resultDims, void* pce); + DSS_CAPI_DLL void Alt_CE_Get_RegisterValues(double** resultPtr, int32_t *resultDims, void* pce); DSS_CAPI_DLL void Alt_CEBatch_Get_Losses(double** resultPtr, int32_t *resultDims, void** batch, int32_t batchSize); DSS_CAPI_DLL void Alt_CEBatch_Get_PhaseLosses(double** resultPtr, int32_t *resultDims, void** batch, int32_t batchSize); DSS_CAPI_DLL void Alt_CEBatch_Get_Powers(double** resultPtr, int32_t *resultDims, void** batch, int32_t batchSize);