v2 / vlib / v / fmt / tests / struct_end_comments_keep.vv
11 lines · 9 sloc · 267 bytes · cb4d16ff3a7140385a0c30c88763921b3cd605b5
Raw
1module main
2
3pub struct CSDL_GamepadBinding {
4pub mut:
5 output_type u8
6 // TODO: BELONGS ABOVE // union {
7 // SDL_GamepadButton button; struct {
8 // SDL_GamepadAxis axis; int axis_min; int axis_max; } axis; } output
9}
10
11pub type GamepadBinding = CSDL_GamepadBinding
12