aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-04-06 16:17:09 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-04-06 16:17:09 +0100
commit32aed9e8c7363faa43340741aa55649ca6dcfdaa (patch)
tree98da0381a766958a70e572611a47cff28501b82c
parentee75d7db208af06c84811353a118078a2656f794 (diff)
downloadpaludis-32aed9e8c7363faa43340741aa55649ca6dcfdaa.tar.gz
paludis-32aed9e8c7363faa43340741aa55649ca6dcfdaa.tar.xz
Add PackageID::transient_key ruby binding
-rw-r--r--ruby/package_id.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby/package_id.cc b/ruby/package_id.cc
index 74bd3da..ac53dce 100644
--- a/ruby/package_id.cc
+++ b/ruby/package_id.cc
@@ -436,6 +436,8 @@ namespace
&KeyValue<MetadataValueKey<std::tr1::shared_ptr<const Choices> >, &PackageID::choices_key>::fetch)), 0);
rb_define_method(c_package_id, "slot_key", RUBY_FUNC_CAST((
&KeyValue<MetadataValueKey<SlotName>, &PackageID::slot_key>::fetch)), 0);
+ rb_define_method(c_package_id, "transient_key", RUBY_FUNC_CAST((
+ &KeyValue<MetadataValueKey<bool>, &PackageID::transient_key>::fetch)), 0);
/*
* Document-module: Paludis::PackageIDCanonicalForm