You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few enumerations are used in bitmasks or mixed enum+mask. Currently, CEnum doesn't allow this.
An interim fix was added for Monitors.Mode in #75 (just allow integers without restricting to the enum values), but a more elegant solution would be better. I also noticed a few projects vendor CEnum and modify it, for example https://github.com/JuliaGPU/VulkanCore.jl/pull/17/files
I will look into those packages. I seem to remember solving this for work differently. When I’m back at my work computer I’ll try to find that solution and paste it here.
A few enumerations are used in bitmasks or mixed enum+mask. Currently,
CEnum
doesn't allow this.An interim fix was added for
Monitors.Mode
in #75 (just allow integers without restricting to the enum values), but a more elegant solution would be better. I also noticed a few projects vendor CEnum and modify it, for example https://github.com/JuliaGPU/VulkanCore.jl/pull/17/filesLooking for alternative packages, so far I found https://github.com/jmert/BitFlags.jl
Should we adopt it here?
The text was updated successfully, but these errors were encountered: