… | |
… | |
57 | refers to any kind of boolean value, not a specific type. |
57 | refers to any kind of boolean value, not a specific type. |
58 | |
58 | |
59 | =head2 GCC ATTRIBUTES |
59 | =head2 GCC ATTRIBUTES |
60 | |
60 | |
61 | A major part of libecb deals with GCC attributes. These are additional |
61 | A major part of libecb deals with GCC attributes. These are additional |
62 | attributes that you cna assign to functions, variables and sometimes even |
62 | attributes that you can assign to functions, variables and sometimes even |
63 | types - much like C<const> or C<volatile> in C. |
63 | types - much like C<const> or C<volatile> in C. |
64 | |
64 | |
65 | While GCC allows declarations to show up in many surprising places, |
65 | While GCC allows declarations to show up in many surprising places, |
66 | but not in many expeted places, the safest way is to put attribute |
66 | but not in many expected places, the safest way is to put attribute |
67 | declarations before the whole declaration: |
67 | declarations before the whole declaration: |
68 | |
68 | |
69 | ecb_const int mysqrt (int a); |
69 | ecb_const int mysqrt (int a); |
70 | ecb_unused int i; |
70 | ecb_unused int i; |
71 | |
71 | |