diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-10-08 12:17:55 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-08 12:17:55 -0700 |
| commit | 75f8dfabaa2f071ac2b527d225b0312d70f94e64 (patch) | |
| tree | 0df6ed8cb28ecc9bf34c423f0d3aa87b791db8fb /varint.h | |
| parent | Merge branch 'mh/doc-credential-url-prefix' (diff) | |
| parent | ci: enable Rust for breaking-changes jobs (diff) | |
| download | git-75f8dfabaa2f071ac2b527d225b0312d70f94e64.tar.gz git-75f8dfabaa2f071ac2b527d225b0312d70f94e64.zip | |
Merge branch 'ps/rust-balloon'
Dip our toes a bit to (optionally) use Rust implemented helper
called from our C code.
* ps/rust-balloon:
ci: enable Rust for breaking-changes jobs
ci: convert "pedantic" job into full build with breaking changes
BreakingChanges: announce Rust becoming mandatory
varint: reimplement as test balloon for Rust
varint: use explicit width for integers
help: report on whether or not Rust is enabled
Makefile: introduce infrastructure to build internal Rust library
Makefile: reorder sources after includes
meson: add infrastructure to build internal Rust library
Diffstat (limited to 'varint.h')
| -rw-r--r-- | varint.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #ifndef VARINT_H #define VARINT_H -int encode_varint(uintmax_t, unsigned char *); -uintmax_t decode_varint(const unsigned char **); +uint8_t encode_varint(uint64_t, unsigned char *); +uint64_t decode_varint(const unsigned char **); #endif /* VARINT_H */ |
