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
As mentioned in #1023 I have a use case to convert a raw *mut sdl2_sys::SDL_Event into a sdl2::event::Event. Changing the visibility from sdl2::event::Event::from_ll to public would simplify this process greatly.
Other from_ll functions are already public and there doesn't seem to be a problem with changing others to public as well. It might even be worth thinking about setting all from_ll/to_ll functions to public.
The text was updated successfully, but these errors were encountered:
jpteb
added a commit
to jpteb/rust-sdl2
that referenced
this issue
Feb 17, 2022
As mentioned in #1023 I have a use case to convert a raw
*mut sdl2_sys::SDL_Event
into asdl2::event::Event
. Changing the visibility fromsdl2::event::Event::from_ll
to public would simplify this process greatly.Other
from_ll
functions are already public and there doesn't seem to be a problem with changing others to public as well. It might even be worth thinking about setting allfrom_ll
/to_ll
functions to public.The text was updated successfully, but these errors were encountered: