Skip to content

Commit

Permalink
dep: allow weak references to Dep objects
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Nov 29, 2023
1 parent 31d7aee commit 6fb051e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pkgcraft/dep/pkg.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ cdef class Dep:
cdef object _use_deps
cdef int _hash

# allow weak references
cdef object __weakref__

@staticmethod
cdef Dep from_ptr(C.Dep *)

Expand Down

0 comments on commit 6fb051e

Please sign in to comment.