Add debug macros, header defines, C_DECLS