diff options
| author | Simon Ser <contact@emersion.fr> | 2022-09-08 10:38:54 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2022-09-13 18:01:57 +0000 |
| commit | 2d5acfa5c3f4a184072171b0ed9673abd55a9496 (patch) | |
| tree | 4727fc49ee9602cff24beaea2905c1ed8115c3ff /tests/cpp-compile-test.cpp | |
| parent | server: don't document void return values (diff) | |
| download | wayland-2d5acfa5c3f4a184072171b0ed9673abd55a9496.tar wayland-2d5acfa5c3f4a184072171b0ed9673abd55a9496.tar.gz wayland-2d5acfa5c3f4a184072171b0ed9673abd55a9496.tar.bz2 wayland-2d5acfa5c3f4a184072171b0ed9673abd55a9496.tar.lz wayland-2d5acfa5c3f4a184072171b0ed9673abd55a9496.tar.xz wayland-2d5acfa5c3f4a184072171b0ed9673abd55a9496.tar.zst wayland-2d5acfa5c3f4a184072171b0ed9673abd55a9496.zip | |
cursor: make param names match with documentation
There was a mismatch here.
Use a good-looking function param name because that's what will
show up in docs. Use an abbreviation inside the function.
Fixes the following warnings:
cursor/wayland-cursor.c:504: warning: argument 'cursor' of command @param is not found in the argument list of wl_cursor_frame(struct wl_cursor *_cursor, uint32_t time)
cursor/wayland-cursor.c:504: warning: The following parameter of wl_cursor_frame(struct wl_cursor *_cursor, uint32_t time) is not documented:
parameter '_cursor'
cursor/wayland-cursor.c:452: warning: argument 'cursor' of command @param is not found in the argument list of wl_cursor_frame_and_duration(struct wl_cursor *_cursor, uint32_t time, uint32_t *duration)
cursor/wayland-cursor.c:452: warning: The following parameter of wl_cursor_frame_and_duration(struct wl_cursor *_cursor, uint32_t time, uint32_t *duration) is not documented:
parameter '_cursor'
cursor/wayland-cursor.c:147: warning: argument 'image' of command @param is not found in the argument list of wl_cursor_image_get_buffer(struct wl_cursor_image *_img)
cursor/wayland-cursor.c:147: warning: The following parameter of wl_cursor_image_get_buffer(struct wl_cursor_image *_img) is not documented:
parameter '_img'
cursor/wayland-cursor.c:504: warning: argument 'cursor' of command @param is not found in the argument list of wl_cursor_frame(struct wl_cursor *_cursor, uint32_t time)
cursor/wayland-cursor.c:504: warning: The following parameter of wl_cursor_frame(struct wl_cursor *_cursor, uint32_t time) is not documented:
parameter '_cursor'
cursor/wayland-cursor.c:452: warning: argument 'cursor' of command @param is not found in the argument list of wl_cursor_frame_and_duration(struct wl_cursor *_cursor, uint32_t time, uint32_t *duration)
cursor/wayland-cursor.c:452: warning: The following parameter of wl_cursor_frame_and_duration(struct wl_cursor *_cursor, uint32_t time, uint32_t *duration) is not documented:
parameter '_cursor'
cursor/wayland-cursor.c:147: warning: argument 'image' of command @param is not found in the argument list of wl_cursor_image_get_buffer(struct wl_cursor_image *_img)
cursor/wayland-cursor.c:147: warning: The following parameter of wl_cursor_image_get_buffer(struct wl_cursor_image *_img) is not documented:
parameter '_img'
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
