aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-03-12 13:53:10 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-03-12 14:10:29 +0000
commit2341abcf6c4bcac2eef992680199eaa28df7ce18 (patch)
tree8232a4746317659c8460ecf0ef02ff81bacaa58e
parentd1742f878e78e42aebe2f34b7e25912a3aaae18b (diff)
downloadpaludis-2341abcf6c4bcac2eef992680199eaa28df7ce18.tar.gz
paludis-2341abcf6c4bcac2eef992680199eaa28df7ce18.tar.xz
(ruby) Export Repository::accept_keywords_key
-rw-r--r--ruby/repository.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ruby/repository.cc b/ruby/repository.cc
index a736bd0..a910637 100644
--- a/ruby/repository.cc
+++ b/ruby/repository.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006, 2007, 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh
* Copyright (c) 2006, 2007, 2008 Richard Brown
* Copyright (c) 2007 David Leverton
*
@@ -647,6 +647,8 @@ namespace
rb_define_method(c_repository, "installed_root_key",
RUBY_FUNC_CAST((&RepositoryKey<MetadataValueKey<FSEntry>, &Repository::installed_root_key>::fetch)), 0);
rb_define_method(c_repository, "get_environment_variable", RUBY_FUNC_CAST(&repository_get_environment_variable), 2);
+ rb_define_method(c_repository, "accept_keywords_key",
+ RUBY_FUNC_CAST((&RepositoryKey<MetadataValueKey<std::string> , &Repository::accept_keywords_key>::fetch)), 0);
/*
* Document-class: Paludis::FakeRepositoryBase