-
Notifications
You must be signed in to change notification settings - Fork 45
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
Issues with representing some JS interfaces as C structs #279
Comments
Mar 7 meeting:
|
Mar 14 meeting:
|
Mar 28 meeting:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A few JS (WebIDL)
interface
s are currently represented by Cstruct
s, namely:WGPUAdapterInfo
,WGPUCompilationInfo
/Message
,WGPUSupportedLimits
.This doesn't match quite directly for a few reasons:
attribute
s on aninterface
are actually getters. In Wasm bindings, we would have to call all of them.interface
s could gain methods.This issue is to consider whether this is a problem worth fixing. Off the top of my head it doesn't make sense for
WGPUCompilationInfo
/Message
, but it might for the other two.cc #266, #272, #260
The text was updated successfully, but these errors were encountered: