-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Break long function declarations into one parameter per line #1514
Copy link
Copy link
Closed
Labels
Milestone
Description
C function declarations that have many (or long) parameters resulting in a line break are hard to read. Would it be possible to optionally break them with one parameter per line (like doxygen).
I.e. instead of
size_t process_function(const void *source, void *destination, size_t length, void *data, int (*callback)(size_t, size_t, size_t, void *),
void *cbparam)
I would like something like
size_t process_function(const void *source,
void *destination,
size_t length,
void *data,
int (*callback)(size_t, size_t, size_t, void *),
void *cbparam)
- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/1514
- Originally reported by: Jørgen Ibsen
- Originally created at: 2014-07-20T21:54:00.516
Reactions are currently unavailable