config/Param: split block-specific attributes to new struct ConfigBlock
The old struct config_param remains only for top-level string options.
This commit is contained in:
@@ -72,9 +72,9 @@ struct DsdiffMetaData {
|
||||
static bool lsbitfirst;
|
||||
|
||||
static bool
|
||||
dsdiff_init(const config_param ¶m)
|
||||
dsdiff_init(const ConfigBlock &block)
|
||||
{
|
||||
lsbitfirst = param.GetBlockValue("lsbitfirst", false);
|
||||
lsbitfirst = block.GetBlockValue("lsbitfirst", false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user