comparison mercurial/cext/revlog.c @ 40454:a91a2837150b stable 4.8

rust: fix signature of rustlazyancestors_init() function Obviously, sizeof(int) != mem::size_of::<usize>() on amd64, though the argument would be passed in 64-bit register anyway.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 28 Oct 2018 21:16:36 +0900
parents 72b94f946e90
children 4fe63b573791 9cdd525d97b2
comparison
equal deleted inserted replaced
40453:1bf3e6041e2c 40454:a91a2837150b
2309 rustlazyancestorsObject *rustlazyancestors_init( 2309 rustlazyancestorsObject *rustlazyancestors_init(
2310 indexObject *index, 2310 indexObject *index,
2311 /* to pass index_get_parents() */ 2311 /* to pass index_get_parents() */
2312 int (*)(indexObject *, Py_ssize_t, int*, int), 2312 int (*)(indexObject *, Py_ssize_t, int*, int),
2313 /* intrevs vector */ 2313 /* intrevs vector */
2314 int initrevslen, long *initrevs, 2314 Py_ssize_t initrevslen, long *initrevs,
2315 long stoprev, 2315 long stoprev,
2316 int inclusive); 2316 int inclusive);
2317 void rustlazyancestors_drop(rustlazyancestorsObject *self); 2317 void rustlazyancestors_drop(rustlazyancestorsObject *self);
2318 int rustlazyancestors_next(rustlazyancestorsObject *self); 2318 int rustlazyancestors_next(rustlazyancestorsObject *self);
2319 int rustlazyancestors_contains(rustlazyancestorsObject *self, long rev); 2319 int rustlazyancestors_contains(rustlazyancestorsObject *self, long rev);