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

Struct isn't working with FFI #42

Open
grumpOldman opened this issue Aug 5, 2024 · 0 comments
Open

Struct isn't working with FFI #42

grumpOldman opened this issue Aug 5, 2024 · 0 comments

Comments

@grumpOldman
Copy link

Struct isn't working with FFI

I'm trying to create a SDL2 package, but Structs I generated from SDL_Events are not working with Window Events.

They worked with byte-type version 0.1.7 looking at divy/deno_sdl2. I even tested updating divy/deno_sdl2 to the lastest version 0.4.0 and still not spitting out SDL_WindowEvents.

It might be an issue switching from UnsafePointerView to DataView

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