In said:
out of curiosity, what conventions do you guys use for header files?
[1] include guards
[2] type definitions
[3] prototypes
[4] #defines
[5] end of include guard
I would like to see what most of you use to see what the common
convention is.
My personnal code generator makes that for headers:
#ifndef H_ED_HEADER_20040306204849
#define H_ED_HEADER_20040306204849
#ifdef __cplusplus
extern "C"
{
#endif
/* macros ============================================================== */
/* constants =========================================================== */
/* types =============================================================== */
/* structures ========================================================== */
/* internal public functions =========================================== */
/* entry points ======================================================== */
/* public variables ==================================================== */
#ifdef __cplusplus
}
#endif
#endif /* guard */
/* Guards added by GUARD (c) AETA 2000-2003 Jun 25 2003 Ver. 1.6 */