C linkage macros
["Little Useful Bits" Library]


Detailed Description

These two macros are used to simplify the declaration of C-linkage code. Rather than worry about preprocessor directives similar to
#ifdef __cplusplus
extern "C" {
#endif 

int foobar(void);

#ifdef __cplusplus
}
#endif
you simply need to use the _BEGIN_C_DECL and _END_C_DECL macros instead.

#include "lub/c_decl.h"
_BEGIN_C_DECL

int foobar(void);

_END_C_DECL

Generated on Tue Apr 29 13:41:08 2008 for CLISH by  doxygen 1.5.1