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

Bugfix: making inline legacy internal grackle functions work in C codes #157

Merged
merged 1 commit into from May 18, 2023

Conversation

mabruzzo
Copy link
Collaborator

I had forgotten that the inline specifier works differently in C and C++ while writing PR #139. When I wrote that PR, I had assumed the C++ semantics apply everywhere. It turns out that to achieve the desired behavior, we need to label the functions as static inline (this works in both C and C++).

I had realized this was a problem while doing something totally unrelated in PR #153

I had forgotten that the ``inline`` specifier works differently in C and C++ PR grackle-project#139. When I wrote that PR, I had assumed the C++ semantics. It turns out that to achieve the desired behavior, we need to label the functions as ``static inline``
@brittonsmith brittonsmith added the bug Something isn't working label May 18, 2023
@brittonsmith
Copy link
Contributor

Good catch, thanks!

@brittonsmith brittonsmith merged commit 587d131 into grackle-project:main May 18, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants