mdbx: refine mdbx_cursor_count() API.

This commit is contained in:
Leo Yuriev
2017-05-25 16:21:29 +03:00
parent 3a166e1970
commit 96de36baef
2 changed files with 5 additions and 3 deletions

2
mdbx.h
View File

@@ -1415,7 +1415,7 @@ LIBMDBX_API int mdbx_cursor_del(MDBX_cursor *cursor, unsigned flags);
* possible errors are:
* - MDBX_EINVAL - cursor is not initialized, or an invalid parameter
* was specified. */
LIBMDBX_API int mdbx_cursor_count(MDBX_cursor *cursor, uint64_t *countp);
LIBMDBX_API int mdbx_cursor_count(MDBX_cursor *cursor, size_t *countp);
/* Compare two data items according to a particular database.
*