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 Python GC support #244

Merged
merged 4 commits into from
Nov 9, 2023
Merged

Add Python GC support #244

merged 4 commits into from
Nov 9, 2023

Conversation

robert3005
Copy link
Contributor

@robert3005 robert3005 commented Nov 8, 2023

Don't have a good idea how to test it. I run this against other projects and it doesn't introduce regression.

fix #23

@robert3005 robert3005 enabled auto-merge (squash) November 9, 2023 13:05
}

fn typeNeedsGc(comptime FT: type) bool {
return switch (@typeInfo(FT)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you use Trampoline(FT).isObjectLike?

@robert3005 robert3005 merged commit 50171d7 into develop Nov 9, 2023
1 check passed
@robert3005 robert3005 deleted the rk/gc branch November 9, 2023 13:36
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.

Integrate with Python GC
2 participants