Skip to content

Commit

Permalink
Lib: fix Circuit_FromJSON signature; increment to v0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
PMeira committed Feb 18, 2024
1 parent fc8918d commit c4150d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

For a more complete list of changes, visit the [Git repository and Releases page on GitHub](https://github.com/dss-extensions/OpenDSSDirect.jl).

### OpenDSSDirect v0.9.7 Release Notes

- Fix low-level signature for `Lib.Circuit_FromJSON`.

### OpenDSSDirect v0.9.6 Release Notes

- Update the engine to DSS C-API v0.14.1. There are a few bugfixes but also an extensive list of new features, [please check the AltDSS/DSS C-API changelog](https://github.com/dss-extensions/dss_capi/blob/master/docs/changelog.md#version-0141-2024-02-16).
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OpenDSSDirect"
uuid = "a8b11937-1041-50f2-9818-136bb7a8fb06"
authors = ["Tom Short <[email protected]>"]
version = "0.9.6"
version = "0.9.7"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7172,7 +7172,7 @@ function Circuit_Save(ctx::Ptr{Cvoid}, dirOrFilePath, saveFlags)
end

function Circuit_FromJSON(ctx::Ptr{Cvoid}, circ, options)
ccall((:ctx_Circuit_FromJSON, LIBRARY), Cstring, (Ptr{Cvoid}, Cstring, Int32,), ctx, circ, options)
ccall((:ctx_Circuit_FromJSON, LIBRARY), Cvoid, (Ptr{Cvoid}, Cstring, Int32,), ctx, circ, options)
end

const DSS_CAPI_VERSION = "0.14.1"

2 comments on commit c4150d4

@PMeira
Copy link
Member Author

@PMeira PMeira commented on c4150d4 Feb 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/101133

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.9.7 -m "<description of version>" c4150d45e6962c40b9773ab46f6dbe297de03599
git push origin v0.9.7

Please sign in to comment.