Checked on the ButtonBind struct, should be alright.

This commit is contained in:
Ethan Lee 2013-04-09 22:03:01 -04:00
Родитель c2359680ae
Коммит d3dcc117e9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -3627,11 +3627,11 @@ namespace SDL2
public int hat_mask;
}
// FIXME: This has a union in it... does this make sense?
/* This struct has a union in it, hence the Explicit layout. */
[StructLayout(LayoutKind.Explicit)]
public struct SDL_GameControllerButtonBind
{
// FIXME: enum size?
/* Note: enum size is 4 bytes. */
[FieldOffset(0)]
public SDL_GameControllerBindType bindType;
[FieldOffset(4)]