Author: wyoung
Date: Fri Jan 12 12:38:54 2007
New Revision: 1385
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1385&view=rev
Log:
Put new get_library_version() in namespace mysqlpp.
Modified:
trunk/lib/mysql++.h.in
Modified: trunk/lib/mysql++.h.in
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/mysql%2B%2B.h.in?rev=1385&r1=1384&r2=1385&view=diff
==============================================================================
--- trunk/lib/mysql++.h.in (original)
+++ trunk/lib/mysql++.h.in Fri Jan 12 12:38:54 2007
@@ -51,6 +51,8 @@
/// actual library you're linking to.
#define MYSQLPP_HEADER_VERSION MYSQLPP_VERSION(@MYSQLPP_VERSION_MAJOR@,
@MYSQLPP_VERSION_MINOR@, @MYSQLPP_VERSION_BUGFIX@)
+namespace mysqlpp {
+
/// \brief Get the current MySQL++ library version number
///
/// MySQL++ version number that the program is actually linked to,
@@ -59,6 +61,8 @@
/// program is using header files from the same version of MySQL++ as
/// the actual library you're linking to.
unsigned int get_library_version();
+
+} // end namespace mysqlpp
// This #include order gives the fewest redundancies in the #include
// dependency chain.
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits