Cotix / cReddit

CLI Reddit client written in C. Oh, crossplatform too!
Other
96 stars 14 forks source link

libreddit: Allow header to be included with C++ code #61

Closed mkilgore closed 11 years ago

mkilgore commented 11 years ago

This patch allowed the reddit.h header to be used with C++ code, via the addition of extern "C" {} around the code if the __cplusplus flag is set.