Skip to content

What is the replacement for jl_set_global #46361

@robertu94

Description

@robertu94
Julia Version 1.9.0-DEV.unknown
Commit df84643* (2022-08-03 13:41 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: 16 × 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.0 (ORCJIT, tigerlake)
  Threads: 1 on 16 virtual cores

It appears as though one of the embedding APIs jl_set_global has been removed (grep -R "jl_set_global" in julia's include directory returns no results), but there hasn't been an increment to the major version number. I tried to find the history of this change, but have so far been unsuccessful, I'm sure it was made for a good reason. Since there are codes (i.e. JLuna see Clemapfel/jluna#34 ) that use this API, should there be either some deprecation period, or a replacement that can be used?

... Yes, I know this is a pre-release version and breakages should be expected. Thanks for all your work on a great language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions