vlang / sdl

Official SDL2 bindings for V

Home Page:https://vlang.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

``v doc sdl`` error

Cons-Cat opened this issue · comments

Running V doc on this module causes this problem for me:

$ v doc sdl
.vmodules/sdl/sdl.v:98:29: error: unexpected name `byte`, expecting `,`
   96 | 
   97 | ///////////////////////////////////////////////////
   98 | fn C.SDL_MapRGB(fmt voidptr byte, g byte, b byte) u32
      |                             ~~~~
   99 | fn C.SDL_CreateRGBSurface(flags u32, width int, height int, depth int, Rmask u32, Gmask u32, Bmask u32, Amask u32) voidptr
  100 | fn C.SDL_PollEvent(&SDL_Event) int

@Cons-Cat , did you find any solution?

Fixed in #7

@JalonSolov / @medvednikov I can't reproduce this after #7