Skip to content

Commit

Permalink
Merge pull request #5 from oscar-system/mh/generate_wrappers
Browse files Browse the repository at this point in the history
Allow `@generate_wrappers(Pkg.SubPkg)`
  • Loading branch information
benlorenz authored Mar 21, 2024
2 parents c1c8cea + 5993cd3 commit 78d7acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BinaryWrappers"
uuid = "f01c122e-0ea1-4f85-ad8f-907073ad7a9f"
authors = ["Benjamin Lorenz <[email protected]> and contributors"]
version = "0.1.2"
version = "0.1.3"

[deps]
JLLWrappers = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
Expand Down
2 changes: 1 addition & 1 deletion src/BinaryWrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ end
# this behaves slightly different than the @get_scratch! function:
# it will associate the scratch to the module passed as argument
# and use the calling module for the scratch usage (for gc)
macro generate_wrappers(m::Symbol)
macro generate_wrappers(m::Union{Symbol,Expr})
uuid = Base.PkgId(__module__).uuid
return quote
generate_wrappers($(esc(m)), $(esc(uuid)))
Expand Down

2 comments on commit 78d7acf

@benlorenz
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@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/103320

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.1.3 -m "<description of version>" 78d7acf3243ca7894154d3cbee83a7b7b2906919
git push origin v0.1.3

Please sign in to comment.