Skip to content

Commit

Permalink
Header: fix dss_obj_float64_int32_func_t
Browse files Browse the repository at this point in the history
  • Loading branch information
PMeira committed Mar 4, 2024
1 parent 00f04ee commit 94b304e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- API/YMatrix: check for valid circuit in a few more functions.
- API/Circuit: adjust `SetActiveElement` to be more conformant with the official version, i.e., returns -1 for non-circuit elements.
- Alt/CircuitElement: Fix error message.
- Header/Alt: fix `dss_obj_float64_int32_func_t` (returns `double`, not `int32_t`).

## Version 0.14.2 (2024-02-26)

Expand Down
2 changes: 1 addition & 1 deletion include/dss_capi.h
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ extern "C" {
*/
typedef double (*dss_obj_float64_func_t)(void* obj);
typedef int32_t (*dss_obj_int32_func_t)(void* obj);
typedef int32_t (*dss_obj_float64_int32_func_t)(void* obj, int32_t val);
typedef double (*dss_obj_float64_int32_func_t)(void* obj, int32_t val);
typedef double (*dss_ctx_bus_float64_func_t)(const void* ctx, void* obj);
typedef int32_t (*dss_ctx_bus_int32_func_t)(const void* ctx, void* obj);

Expand Down

0 comments on commit 94b304e

Please sign in to comment.