currently,the APIs in the header file are not wrapped around "extern C" requiring a user of the library in C++ to manually wrap the header in order to link to the library in C++.
It would be nice if the header would do that so that a C++ user could do below to use the library:
#include <pwquality.h>
instead of:
extern "C" { #include <pwquality.h> }
On Tue, 2012-11-06 at 16:11 -0500, .. ink .. wrote:
currently,the APIs in the header file are not wrapped around "extern C" requiring a user of the library in C++ to manually wrap the header in order to link to the library in C++.
It would be nice if the header would do that so that a C++ user could do below to use the library:
#include <pwquality.h>
instead of:
extern "C" { #include <pwquality.h> }
Fixed in the hg repository. Thank you for the report.
libpwquality-devel@lists.fedorahosted.org