Transformer SDK For C
8.0.3.342099-79b6f512
|
List of library constants to be registered. More...
Data Fields | |
char * | name |
const char * | string |
int | value |
List of library constants to be registered.
The list must be terminated with a NULL entry.
String and integer constants can be registered. For a given entry if the string is NULL the integer value is registered. If the string is not NULL the integer value is ignored and the string value is registered.
pipeline_module_func_t constants[] = { { INT1, 1, NULL }, { STR1, 1, "str1" }, { NULL, 0, NULL } };
If the example above is registered under the package lib, then lib.INT1 is an integer and it's value is 1 and lib.STR1 is a string and it's value is "str1". See \ref pipeline_interface_t::pipeline_register_library "pipeline_register_library".
char* pipeline_module_const_t::name |
Constant name. Conventionally these names should be all upper case
const char* pipeline_module_const_t::string |
String value for constant - set this to NULL if the constant is an integer
int pipeline_module_const_t::value |
Integer value for constant. Ignored if the string is not NULL