Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a few global -> Ref #12

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

KristofferC
Copy link
Member

I think these are not used anywhere outside the jlls (from searching with JuliaHub).

@@ -83,8 +83,8 @@ function generate_toplevel_definitions(src_name, __source__)
"""
function is_available end

PATH = ""
LIBPATH = ""
const PATH = Ref{String}("")
Copy link
Member Author

Choose a reason for hiding this comment

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

I wasn't sure if these were supposed to be initialized or not but if they are not I run into #11.

@staticfloat
Copy link
Member

This seems fine to me; I know of one package using this (GR) but we can fix that.

@giordano
Copy link
Member

I have a bad news: the _path is actually used in Gtk.jl: https://github.com/JuliaGraphics/Gtk.jl/blob/7cb735177fe17bc86191aac3cc4329c0d4b7ec33/src/Gtk.jl#L81

@staticfloat staticfloat merged commit 30e2884 into JuliaPackaging:master Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants