Skip to content

Function Type Updates#85

Merged
ioquatix merged 1 commit intosocketry:mainfrom
cfis:main
Nov 13, 2024
Merged

Function Type Updates#85
ioquatix merged 1 commit intosocketry:mainfrom
cfis:main

Conversation

@cfis
Copy link
Copy Markdown
Collaborator

@cfis cfis commented Nov 12, 2024

Support iterating over Type::Function args and expose Lib.get_non_reference_type.

@ioquatix
Copy link
Copy Markdown
Member

@cfis do you mind checking CI failures?

@cfis
Copy link
Copy Markdown
Collaborator Author

cfis commented Nov 12, 2024

Ah - it is because Clang is older than version 16. The function is only exposed on Clang 16 and higher

https://github.com/ioquatix/ffi-clang/blob/main/lib/ffi/clang/lib/cursor.rb#L491

Should I do a gem check to see if the test should run or not?

@ioquatix
Copy link
Copy Markdown
Member

Should we just update clang in CI?

@cfis
Copy link
Copy Markdown
Collaborator Author

cfis commented Nov 12, 2024

That works for me.

Clang is now up to version 19. Do you want to go with latest or do a matrix of 16, 17, 18, 19?

@ioquatix
Copy link
Copy Markdown
Member

Honestly I think the latest is okay

@cfis
Copy link
Copy Markdown
Collaborator Author

cfis commented Nov 12, 2024

Ok, I'll update make a separate PR with that change and then rebase this one on top of that.

@ioquatix ioquatix merged commit 3b19c08 into socketry:main Nov 13, 2024
@ioquatix ioquatix added this to the v0.11.0 milestone Nov 13, 2024
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.

2 participants