<p>To expand a little more on why a table: by having a table of <code>(variable_name, type, flags)</code> that is handled by the generic config code we remove the need for each module to implement a long list of <code>else if(strcmp(x, y)) ...</code>. The module can simply receive a number and parse it either via "switch... case" or using a function pointer table.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/10622?email_source=notifications&email_token=ABE7WYHOLRVBDF2KXHJKH3DPZJP6JA5CNFSM4GK3DEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXF22IA#issuecomment-499887392">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAHVFF47NJUXSVYBB3PZJP6JANCNFSM4GK3DEEQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYFKSZZW5ITPNWL5U5LPZJP6JA5CNFSM4GK3DEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXF22IA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/10622?email_source=notifications\u0026email_token=ABE7WYHOLRVBDF2KXHJKH3DPZJP6JA5CNFSM4GK3DEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXF22IA#issuecomment-499887392",
"url": "https://github.com/RIOT-OS/RIOT/pull/10622?email_source=notifications\u0026email_token=ABE7WYHOLRVBDF2KXHJKH3DPZJP6JA5CNFSM4GK3DEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXF22IA#issuecomment-499887392",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>