ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/libecb/ecb.pod
(Generate patch)

Comparing cvsroot/libecb/ecb.pod (file contents):
Revision 1.28 by root, Fri Jun 10 11:51:03 2011 UTC vs.
Revision 1.29 by root, Fri Jun 10 12:20:14 2011 UTC

101 #else 101 #else
102 return 0; 102 return 0;
103 #endif 103 #endif
104 } 104 }
105 105
106=item ECB_INLINE
107
108This is not actually an attribute, but you use it like one. It expands
109either to C<static inline> or to just C<static>, if inline isn't
110supported. It should be used to declare functions that should be inlined,
111for code size or speed reasons.
112
113Example: inline this function, it surely will reduce codesize.
114
115 ECB_INLINE int
116 negmul (int a, int b)
117 {
118 return - (a * b);
119 }
120
106=item ecb_noinline 121=item ecb_noinline
107 122
108Prevent a function from being inlined - it might be optimised away, but 123Prevent a function from being inlined - it might be optimised away, but
109not inlined into other functions. This is useful if you know your function 124not inlined into other functions. This is useful if you know your function
110is rarely called and large enough for inlining not to be helpful. 125is rarely called and large enough for inlining not to be helpful.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines