-
Notifications
You must be signed in to change notification settings - Fork 52
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
[Windows]CONST
fails ffigen when not include directives
#390
Comments
More specifically, uncommenting include-directives: # include only these header files and necessary structs from other header files
- '**SetupAPI.h'
- '**SetupAPI_.h'
/// SetupDiGetClassDevsW
ffi.Pointer<ffi.Void> SetupDiGetClassDevs_(
ffi.Pointer<GUID> ClassGuid,
ffi.Pointer<ffi.Uint16> Enumerator,
ffi.Pointer<HWND> hwndParent,
int Flags,
) {
return (_SetupDiGetClassDevs_ ??= _dylib.lookupFunction<
_c_SetupDiGetClassDevs_,
_dart_SetupDiGetClassDevs_>('SetupDiGetClassDevs_'))(
ClassGuid,
Enumerator,
hwndParent,
Flags,
);
}
_dart_SetupDiGetClassDevs_? _SetupDiGetClassDevs_;
} |
Possible related: #382 |
CONST
fails ffigen when not include directivesCONST
fails ffigen when not include directives
Hey @Sunbreak. The fix for this has landed in version |
Thanks a lot. I'll try later |
Works like a charm! BTW, I'd like to proposal some feature requests for |
You can file one here or on dart-lang/sdk or both depending on the issue. |
…rom `Uint8List` (#390) `JBuffer` is now the default binding for `java.nio.Buffer` and `JByteBuffer` for `java.nio.ByteBuffer`.
…rom `Uint8List` (#390) `JBuffer` is now the default binding for `java.nio.Buffer` and `JByteBuffer` for `java.nio.ByteBuffer`.
* Test autorelease pools and more copying cases * Test assign/retain/copy properties
Reproduce
The text was updated successfully, but these errors were encountered: