Skip to content

Commit

Permalink
Header: add missing const for a few function returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
PMeira committed Mar 20, 2024
1 parent 65fe268 commit 5b5f024
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions include/dss_capi.h
Original file line number Diff line number Diff line change
Expand Up @@ -6987,19 +6987,19 @@ extern "C" {
/*!
Edit String for RemoveBranches functions
*/
DSS_CAPI_DLL char *ReduceCkt_Get_EditString(void);
DSS_CAPI_DLL const char* ReduceCkt_Get_EditString(void);
DSS_CAPI_DLL void ReduceCkt_Set_EditString(const char* Value);

/*!
Start element for Remove Branch function
*/
DSS_CAPI_DLL char *ReduceCkt_Get_StartPDElement(void);
DSS_CAPI_DLL const char* ReduceCkt_Get_StartPDElement(void);
DSS_CAPI_DLL void ReduceCkt_Set_StartPDElement(const char* Value);

/*!
Name of EnergyMeter to use for reduction
*/
DSS_CAPI_DLL char *ReduceCkt_Get_EnergyMeter(void);
DSS_CAPI_DLL const char* ReduceCkt_Get_EnergyMeter(void);
DSS_CAPI_DLL void ReduceCkt_Set_EnergyMeter(const char* Value);

/*!
Expand Down Expand Up @@ -7140,7 +7140,7 @@ extern "C" {
DSS_CAPI_DLL int32_t CNData_Get_Count(void);
DSS_CAPI_DLL int32_t CNData_Get_First(void);
DSS_CAPI_DLL int32_t CNData_Get_Next(void);
DSS_CAPI_DLL char *CNData_Get_Name(void);
DSS_CAPI_DLL const char* CNData_Get_Name(void);
DSS_CAPI_DLL void CNData_Set_Name(const char* Value);
DSS_CAPI_DLL void CNData_Get_AllNames(char*** ResultPtr, int32_t* ResultDims);
DSS_CAPI_DLL void CNData_Get_AllNames_GR(void);
Expand Down Expand Up @@ -7299,7 +7299,7 @@ extern "C" {
DSS_CAPI_DLL int32_t TSData_Get_Count(void);
DSS_CAPI_DLL int32_t TSData_Get_First(void);
DSS_CAPI_DLL int32_t TSData_Get_Next(void);
DSS_CAPI_DLL char *TSData_Get_Name(void);
DSS_CAPI_DLL const char* TSData_Get_Name(void);
DSS_CAPI_DLL void TSData_Set_Name(const char* Value);
DSS_CAPI_DLL void TSData_Get_AllNames(char*** ResultPtr, int32_t* ResultDims);
DSS_CAPI_DLL void TSData_Get_AllNames_GR(void);
Expand Down
10 changes: 5 additions & 5 deletions include/dss_capi_ctx.h
Original file line number Diff line number Diff line change
Expand Up @@ -6404,19 +6404,19 @@ extern "C" {
/*!
Edit String for RemoveBranches functions
*/
DSS_CAPI_DLL char *ctx_ReduceCkt_Get_EditString(const void* ctx);
DSS_CAPI_DLL const char* ctx_ReduceCkt_Get_EditString(const void* ctx);
DSS_CAPI_DLL void ctx_ReduceCkt_Set_EditString(const void* ctx, const char* Value);

/*!
Start element for Remove Branch function
*/
DSS_CAPI_DLL char *ctx_ReduceCkt_Get_StartPDElement(const void* ctx);
DSS_CAPI_DLL const char* ctx_ReduceCkt_Get_StartPDElement(const void* ctx);
DSS_CAPI_DLL void ctx_ReduceCkt_Set_StartPDElement(const void* ctx, const char* Value);

/*!
Name of EnergyMeter to use for reduction
*/
DSS_CAPI_DLL char *ctx_ReduceCkt_Get_EnergyMeter(const void* ctx);
DSS_CAPI_DLL const char* ctx_ReduceCkt_Get_EnergyMeter(const void* ctx);
DSS_CAPI_DLL void ctx_ReduceCkt_Set_EnergyMeter(const void* ctx, const char* Value);

/*!
Expand Down Expand Up @@ -6557,7 +6557,7 @@ extern "C" {
DSS_CAPI_DLL int32_t ctx_CNData_Get_Count(const void* ctx);
DSS_CAPI_DLL int32_t ctx_CNData_Get_First(const void* ctx);
DSS_CAPI_DLL int32_t ctx_CNData_Get_Next(const void* ctx);
DSS_CAPI_DLL char *ctx_CNData_Get_Name(const void* ctx);
DSS_CAPI_DLL const char* ctx_CNData_Get_Name(const void* ctx);
DSS_CAPI_DLL void ctx_CNData_Set_Name(const void* ctx, const char* Value);
DSS_CAPI_DLL void ctx_CNData_Get_AllNames(const void* ctx, char*** ResultPtr, int32_t* ResultDims);
DSS_CAPI_DLL void ctx_CNData_Get_AllNames_GR(const void* ctx);
Expand Down Expand Up @@ -6716,7 +6716,7 @@ extern "C" {
DSS_CAPI_DLL int32_t ctx_TSData_Get_Count(const void* ctx);
DSS_CAPI_DLL int32_t ctx_TSData_Get_First(const void* ctx);
DSS_CAPI_DLL int32_t ctx_TSData_Get_Next(const void* ctx);
DSS_CAPI_DLL char *ctx_TSData_Get_Name(const void* ctx);
DSS_CAPI_DLL const char* ctx_TSData_Get_Name(const void* ctx);
DSS_CAPI_DLL void ctx_TSData_Set_Name(const void* ctx, const char* Value);
DSS_CAPI_DLL void ctx_TSData_Get_AllNames(const void* ctx, char*** ResultPtr, int32_t* ResultDims);
DSS_CAPI_DLL void ctx_TSData_Get_AllNames_GR(const void* ctx);
Expand Down

0 comments on commit 5b5f024

Please sign in to comment.