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

Possible typos in types.conf files #951

Open
postmodern opened this issue May 3, 2022 · 0 comments
Open

Possible typos in types.conf files #951

postmodern opened this issue May 3, 2022 · 0 comments

Comments

@postmodern
Copy link
Contributor

I spotted this pecular entry rbx.platform.typedef.*) = pointer in the following types.conf files.

aarch64-freebsd12/types.conf:rbx.platform.typedef.*) = pointer
arm-freebsd12/types.conf:rbx.platform.typedef.*) = pointer
arm-freebsd/types.conf:rbx.platform.typedef.*) = pointer
i386-freebsd12/types.conf:rbx.platform.typedef.*) = pointer
i386-freebsd/types.conf:rbx.platform.typedef.*) = pointer
x86_64-dragonflybsd/types.conf:rbx.platform.typedef.*) = pointer
x86_64-freebsd12/types.conf:rbx.platform.typedef.*) = pointer
x86_64-haiku/types.conf:rbx.platform.typedef.void*) = pointer

I'm pretty sure that's an artifact from the typedef parsing code that tried to parse a function pointer typedef (ex: type (void *) func_ptr).

postmodern added a commit to postmodern/ffi that referenced this issue May 4, 2022
postmodern added a commit to postmodern/ffi that referenced this issue May 4, 2022
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

No branches or pull requests

1 participant