Mercurial > hg
comparison tests/test-mq-qsave.t @ 46412:7d0405e458a0 stable
persistent-nodemap: Fix Rust declarations for Revlog_CAPI signatures
Use Rust’s `libc::ssize_t` as the closest match to C’s `Py_ssize_t`.
See details in test comment.
Going forward we should find a way to have such Rust declarations
auto-generated from C headers at build time,
or auto-checked against them in a test.
Differential Revision: https://phab.mercurial-scm.org/D9901
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Thu, 28 Jan 2021 13:15:34 +0100 |
parents | b701610f6c56 |
children | 55c6ebd11cb9 |
comparison
equal
deleted
inserted
replaced
46411:3df00f905458 | 46412:7d0405e458a0 |
---|