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

Move memory management into Julia domain using MATFrostMemory concept. #56

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

jorisbelierasml
Copy link
Collaborator

@jorisbelierasml jorisbelierasml commented Aug 30, 2024

JL_GC_PUSH and ...POP might contain Julia version specific code making the MEX binary Julia version dependent. By moving the memory management into the Julia domain using a dictionary that stores the Julia data we lose this dependence. After this PR we only need the following Julia symbols:

  1. jl_eval_string
  2. jl_init
  3. jl_unbox_voidpointer

@jorisbelierasml jorisbelierasml merged commit ea0768d into main Aug 30, 2024
12 checks passed
@jorisbelierasml jorisbelierasml deleted the matfrostmemory branch August 31, 2024 07:27
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.

1 participant