aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 18:00:54 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 18:00:54 +0000
commit1215ecdd4dfe4f40cd4d774bbdc353c1253e4b63 (patch)
tree6f37485e87e3037ce339ed8e33b247d14008b960
parenta0dfea75f287921a0bbf7d46c6536ac53f81c927 (diff)
downloadpaludis-1215ecdd4dfe4f40cd4d774bbdc353c1253e4b63.tar.gz
paludis-1215ecdd4dfe4f40cd4d774bbdc353c1253e4b63.tar.xz
Discourage some of the sillier match_package argument options
-rw-r--r--paludis/match_package.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/paludis/match_package.hh b/paludis/match_package.hh
index 89befd7..3360a43 100644
--- a/paludis/match_package.hh
+++ b/paludis/match_package.hh
@@ -11,6 +11,7 @@
* possible.
*/
+#include <paludis/attributes.hh>
#include <paludis/package_database.hh>
#include <paludis/package_dep_atom.hh>
#include <paludis/dep_list.hh>
@@ -50,7 +51,11 @@ namespace paludis
/**
* Normalise type.
+ *
+ * \deprecated Use sanitise_db(const PackageDatabase *) instead.
*/
+ inline const PackageDatabase * sanitise_db(const PackageDatabase & db) PALUDIS_ATTRIBUTE((deprecated));
+
inline const PackageDatabase * sanitise_db(const PackageDatabase & db)
{
return &db;