To reiterate from Davide's example (which looks quite nice to me):

https://gist.github.com/dlibenzi/08a22e95c21c50f25d38

On Wed, Nov 25, 2015 at 10:26 AM, Kevin Klues <[email protected]> wrote:
> On Wed, Nov 25, 2015 at 10:25 AM, Kevin Klues <[email protected]> wrote:
>>> Hence this proposal:
>>> static Dirtab mystuff[] __vartab = {
>>> {"boot", {(uint64_t)&boot, 0, 0}, 0, 0555, "%x",},
>>> };
>>
>> I don't see how this let's you split the declaration of variables
>> across files (as Davide's Macros does). It looks to me like you would
>> have to edit the table in a single file for any variables you wanted
>> to include in it.
>
> Though I do like the ability to specify a format string via something like 
> "%x"



-- 
~Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to