This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get access/visibility of functions, variables, typedefs and templates?


It was easier than I thought. For example:

if (TREE_PRIVATE(node))
{
    // private
}
else if (TREE_PROTECTED(node))
{
    // protected
}
else
{
    // public
}



--
View this message in context: http://gcc.1065356.n5.nabble.com/How-to-get-access-visibility-of-functions-variables-typedefs-and-templates-tp1233730p1235258.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]