builder.h¶
// SPDX-License-Identifier: MIT
-
elosRpnFilterResultE_t elosProcessFilterBuilderCompile(elosRpnFilterBuilder_t *data)¶
[source] Function: elosProcessFilterBuilderCompile¶
- Description: Converts tokens into fast to use instructions that
are validated by elosProcessFilterBuilderFinalize() used later by elosProcessFilterExecute().
- Info: Used internally by elosProcessFilterCreate(),
shouldn’t be called directly in normal use cases.
Input: Pointer to existing elosRpnFilterBuilder_t
- Return: - FILTER_RESULT_OK on success,
FILTER_RESULT_ERROR on failure.
-
elosRpnFilterResultE_t elosProcessFilterBuilderFinalize(elosRpnFilterBuilder_t *data, elosRpnFilter_t *filter)¶
[source] Function: elosProcessFilterBuilderFinalize¶
- Description: Checks the results from elosProcessFilterBuilderCompile()
for errors and copies the results into a elosRpnFilter_t structure that can be used by elosProcessFilterExecute().
- Info: Used internally by elosProcessFilterCreate(),
shouldn’t be called directly in normal use cases.
- Input: Pointers to existing elosRpnFilterBuilder_t
and elosRpnFilter_t structures.
- Return: - FILTER_RESULT_OK on success,
FILTER_RESULT_ERROR on failure.