Re: Re: Listing special marked symbols - attribute section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/4/07, Thomas Schmid <Thomas.Schmid@xxxxxxxxxxxxxxxxx> wrote:
A little bit offtopic: Because attribute section is ignored, i tried to
mis-use attribute context (dirty, i know).
I tried to find out the meaning of attribute context - but i couldn't.
What is its purpose?

If you want to do some quick and dirty hack. I suggest you just add your
section attribute as a new member.

The context attribute is used for declare function which has impact on the
context counting. e.g. from compiler.h:

# define __acquires(x)  __attribute__((context(x,0,1)))
# define __releases(x)  __attribute__((context(x,1,0)))

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux