Support passing lifetime'd enums to C
authorMatt Corallo <git@bluematt.me>
Fri, 29 Dec 2023 20:50:22 +0000 (20:50 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 29 Dec 2023 20:50:22 +0000 (20:50 +0000)
While this is generally unsafe, we have to do something for
`CandidateRouteHop`, which is passed to the scorer. Because its
incredibly performance-sensitive, forcing the bindings users to
take a performance hit just to make the scoring interface marginally
safer seems like a bad trade-off.


No differences found