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

Computed field types #73

Closed
eschnett opened this issue Jun 28, 2021 · 1 comment
Closed

Computed field types #73

eschnett opened this issue Jun 28, 2021 · 1 comment

Comments

@eschnett
Copy link

Your package uses bitstype(T) to obtain the "real" type for some types.

In case you are not aware, I want to point to the package Computed FieldTypes which does a similar thing, but uses a different function name (fulltype) for a very similar functionality.

You might want to point to this package in your documentation if you think it's worthwhile, or you could work with @vtjnash to use the same API in both packages.

@krrutkow
Copy link
Member

In the context of CBinding's usage at least, bitstype(T) is semantically much more precise, and isbitstype(bitstype(T)) is both always true and very intuitive. Also, the use of bitstype(T) is just a temporary artifact of having to work around JuliaLang/julia#269.

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

2 participants