Configure doxygen to document static inline functions from gpiod.h
as well. While we're at it: add a PREDEFINED option to mark functions
in the header that are not part of the API.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
OUTPUT_LANGUAGE = English
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
-EXTRACT_STATIC = NO
+EXTRACT_STATIC = YES
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
BRIEF_MEMBER_DESC = YES
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
SEARCHENGINE = NO
+ENABLE_PREPROCESSING = YES
+PREDEFINED = DOXYGEN_SHOULD_SKIP_THIS
# HTML output
GENERATE_HTML = YES
int gpiod_line_event_request(struct gpiod_line *line,
struct gpiod_line_evreq_config *config) GPIOD_API;
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
static inline int _gpiod_line_event_request_type(struct gpiod_line *line,
const char *consumer,
bool active_low,
return gpiod_line_event_request(line, &config);
}
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
/**
* @brief Request rising edge event notifications on a single line.