You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently encountered a need to conditionally call CFE_EVS_SendEvent or CFE_ES_WriteToSysLog depending on the app's status. Unfortunately, both of these functions are variadic functions, and they can't easily be wrapped in another variadic function.
The C standard library provides variants of its variadic functions that take a va_list. For example, printf has the vprintf variant.
Please provide similar variants for cFE's variadic functions. The implementation would be simple: the majority of the function's logic can reside in the va_list version, and the variadic function can become thin a wrapper around the va_list version.
The text was updated successfully, but these errors were encountered:
I've recently encountered a need to conditionally call
CFE_EVS_SendEvent
orCFE_ES_WriteToSysLog
depending on the app's status. Unfortunately, both of these functions are variadic functions, and they can't easily be wrapped in another variadic function.The C standard library provides variants of its variadic functions that take a
va_list
. For example,printf
has thevprintf
variant.Please provide similar variants for cFE's variadic functions. The implementation would be simple: the majority of the function's logic can reside in the
va_list
version, and the variadic function can become thin a wrapper around theva_list
version.The text was updated successfully, but these errors were encountered: