Function rc_filter_empty#

Function Documentation#

rc_filter_t rc_filter_empty(void)#

Critical function for initializing rc_filter_t structs.

This is a very important function. If your rc_filter_t struct is not a global variable, then its initial contents cannot be guaranteed to be anything in particular. Therefore it could contain problematic contents which could interfere with functions in this library. Therefore, you should always initialize your filters with rc_filter_empty before using with any other function in this library such as rc_filter_alloc. This serves the same purpose as rc_matrix_empty, rc_vector_empty, and rc_ringbuf_empty.

Returns:

Empty zero-filled rc_filter_t struct