mmm, I see. I'm torn between the two; they seem equivalent to me.
Probably comes down to a matter of preference.

On Wed, Nov 25, 2015 at 11:01 AM, ron minnich <[email protected]> wrote:
>
>
> On Wed, Nov 25, 2015 at 10:26 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.
>>
>>
>
>
> this could be in any file. That's the point of the __vartab tag. It's the
> standard "gather it up at link time" technique. You can have these pretty
> much anywhere and they'll all show up when you
> ls '#vars'
>
>
> It's a good deal simpler than the other things seen.
>
> ron
>
> --
> 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.



-- 
~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