|
|
От: |
netch80
|
http://netch80.dreamwidth.org/ |
| Дата: | 06.03.08 13:02 | ||
| Оценка: | |||
`alias ("TARGET")'
The `alias' attribute causes the declaration to be emitted as an
alias for another symbol, which must be specified. For instance,
void __f () { /* Do something. */; }
void f () __attribute__ ((weak, alias ("__f")));
declares `f' to be a weak alias for `__f'. In C++, the mangled
name for the target must be used.
Not all target machines support this attribute.