Open xgdgsc opened 1 year ago
Should something like in https://stackoverflow.com/questions/3789340/combining-c-and-c-how-does-ifdef-cplusplus-work question part inserted to every header when building library ? So library users in cpp don' t need to do it manually.
Found a post that also took sometime to figure this out. For modern cpp programmers who don' t use C libraries directly often. This could be easilly forgotten.
Should something like in https://stackoverflow.com/questions/3789340/combining-c-and-c-how-does-ifdef-cplusplus-work question part inserted to every header when building library ? So library users in cpp don' t need to do it manually.
Found a post that also took sometime to figure this out. For modern cpp programmers who don' t use C libraries directly often. This could be easilly forgotten.