c2nim can't parse the following:
#define FcPublic
FcPublic FcBool
FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
fontconfig.h(318, 15) Error: ';' expected
where FcPublic is empty #define, and even if i remove FcPublic, it can't parse when return type declaration for a function ends in a new line like above, like
return_type
function_name(argtype argname, ...);
Tried to investigate the c2nim sources, but it requires more time than i have uninterrupted.
FcBool
FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
and
#def FcPublic
FcPublic FcBool
FcConfigParseAndLoad (FcConfig *config, const FcChar8 *file, FcBool complain);
work for me...