Skip to content

Commit

Permalink
update for pkgcraft UseDep changes
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Dec 2, 2023
1 parent 29d38ca commit fda46aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Pkgcraft/Dep.pm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ sub slot_op {
sub use {
my $self = shift;
my $length = 0;
my $use = C::pkgcraft_dep_use_deps($self->{_ptr}, \$length);
my $use = C::pkgcraft_dep_use_deps_str($self->{_ptr}, \$length);
return C::string_array($use, $length);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/_pkgcraft_c.pm
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ $ffi->attach('pkgcraft_dep_slot_op' => ['dep_t'] => 'int');
$ffi->attach('pkgcraft_dep_slot_op_from_str' => ['string'] => 'int');
$ffi->attach('pkgcraft_dep_str' => ['dep_t'] => 'c_str');
$ffi->attach('pkgcraft_dep_subslot' => ['dep_t'] => 'c_str');
$ffi->attach('pkgcraft_dep_use_deps' => ['dep_t', 'int*'] => 'opaque');
$ffi->attach('pkgcraft_dep_use_deps_str' => ['dep_t', 'int*'] => 'opaque');
$ffi->attach('pkgcraft_dep_version' => ['dep_t'] => 'version_t');

# version support
Expand Down

0 comments on commit fda46aa

Please sign in to comment.