File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -820,8 +820,8 @@ inline int free_string(char* str) {
820820 return detail::check_ret (__FUNCTION__, ret);
821821}
822822
823- inline int get_build_version (uint32_t * value ) {
824- int ret = ::wally_get_build_version (value );
823+ inline int get_build_version (uint32_t * value_out ) {
824+ int ret = ::wally_get_build_version (value_out );
825825 return detail::check_ret (__FUNCTION__, ret);
826826}
827827
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ WALLY_CORE_API int wally_cleanup(uint32_t flags);
5353/**
5454 * Get the version number of the library.
5555 *
56- * :param value : Destination for the library build version. This is the
56+ * :param value_out : Destination for the library build version. This is the
5757 *| value of `WALLY_BUILD_VER` when the library was compiled.
5858 */
5959WALLY_CORE_API int wally_get_build_version (
60- uint32_t * value );
60+ uint32_t * value_out );
6161
6262#ifndef SWIG
6363/**
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ static secp256k1_context *global_ctx = NULL;
2020/* Global extended error code. Not thread-safe unless caller-overridden */
2121static int global_error = WALLY_OK ;
2222
23- int wally_get_build_version (uint32_t * value )
23+ int wally_get_build_version (uint32_t * value_out )
2424{
25- if (value )
26- * value = WALLY_BUILD_VER ;
27- return value ? WALLY_OK : WALLY_EINVAL ;
25+ if (value_out )
26+ * value_out = WALLY_BUILD_VER ;
27+ return value_out ? WALLY_OK : WALLY_EINVAL ;
2828}
2929
3030int pubkey_combine (secp256k1_pubkey * pubnonce , const secp256k1_pubkey * const * pubnonces , size_t n )
You can’t perform that action at this time.
0 commit comments