in reply to Re^3: I'm trying to consolidate my functions into subroutines
in thread I'm trying to consolidate my functions into subroutines
As AnomalousMonk wrote, such function attributes are GNU C extensions. But they can be considered de facto standard features on many platforms. Excerpt from gcc info's:
int square (int) __attribute__ ((pure));says that the hypothetical function `square' is safe to call fewer times than the program says....
ps. Take care not to confuse type qualifier const with attribute((const))
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: I'm trying to consolidate my functions into subroutines
by afoken (Chancellor) on May 17, 2017 at 19:51 UTC |