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 public statement to Base.GC #54213

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions base/gcutils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ Module with garbage collection utilities.
"""
module GC

public gc, enable, enable_finalizers, in_finalizer, @preserve, safepoint, enable_logging, logging_enabled
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
public gc, enable, enable_finalizers, in_finalizer, @preserve, safepoint, enable_logging, logging_enabled
public gc, enable, @preserve, safepoint, enable_logging, logging_enabled

This now removes the two finalize related things as asked for


# mirrored from julia.h
const GC_AUTO = 0
const GC_FULL = 1
Expand Down