--- cvsroot/libecb/ecb.pod 2011/06/10 11:51:03 1.28 +++ cvsroot/libecb/ecb.pod 2011/06/10 12:20:14 1.29 @@ -103,6 +103,21 @@ #endif } +=item ECB_INLINE + +This is not actually an attribute, but you use it like one. It expands +either to C or to just C, if inline isn't +supported. It should be used to declare functions that should be inlined, +for code size or speed reasons. + +Example: inline this function, it surely will reduce codesize. + + ECB_INLINE int + negmul (int a, int b) + { + return - (a * b); + } + =item ecb_noinline Prevent a function from being inlined - it might be optimised away, but