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

Avoid redefinition of struct layout #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

beechtom
Copy link

@beechtom beechtom commented Mar 25, 2021

This adds a guard that prevents the redefinition of the
GSSAPI::LibGSSAPI::GssOID struct's layout. Previously, the class would
call the layout method and redefine the layout each time the class was
referenced. This behavior is deprecated in FFI >= 1.12.0 and will be
disallowed in FFI >= 2.0.

This fixes #34

This adds a guard that prevents the redefinition of the
`GSSAPI::LibGSSAPI::GssOID` struct's layout. Previously, the class would
call the `layout` method and redefine the layout each time the class was
referenced. This behavior is deprecated in FFI >= 1.12.0 and will be
disallowed in FFI >= 2.0.
@beechtom
Copy link
Author

beechtom commented Jun 30, 2021

@zenchild Just commenting to bring this to your attention. Hoping it can be reviewed and released soon. 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant