Skip to content

Commit 455ee57

Browse files
committed
Bump sys version to 0.4.1
1 parent aa6bdaf commit 455ee57

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ global-context = ["std", "rand-std", "global-context-less-secure"]
2929
global-context-less-secure = []
3030

3131
[dependencies]
32-
secp256k1-sys = { version = "0.4.0", default-features = false, path = "./secp256k1-sys" }
32+
secp256k1-sys = { version = "0.4.1", default-features = false, path = "./secp256k1-sys" }
3333
bitcoin_hashes = { version = "0.9", optional = true }
3434
rand = { version = "0.6", default-features = false, optional = true }
3535
serde = { version = "1.0", default-features = false, optional = true }

secp256k1-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-sys"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
55
"Andrew Poelstra <[email protected]>",
66
"Steven Roose <[email protected]>" ]

secp256k1-sys/src/lib.rs

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,18 @@ extern "C" {
348348
sk: *mut c_uchar,
349349
tweak: *const c_uchar)
350350
-> c_int;
351+
352+
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_4_1_keypair_sec")]
353+
pub fn secp256k1_keypair_sec(cx: *const Context,
354+
output_seckey: *mut c_uchar,
355+
keypair: *const KeyPair)
356+
-> c_int;
357+
358+
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_4_1_keypair_pub")]
359+
pub fn secp256k1_keypair_pub(cx: *const Context,
360+
output_pubkey: *mut PublicKey,
361+
keypair: *const KeyPair)
362+
-> c_int;
351363
}
352364

353365
#[cfg(not(fuzzing))]
@@ -518,20 +530,6 @@ extern "C" {
518530
internal_pubkey: *const XOnlyPublicKey,
519531
tweak32: *const c_uchar,
520532
) -> c_int;
521-
522-
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_4_1_keypair_sec")]
523-
pub fn secp256k1_keypair_sec(
524-
cx: *const Context,
525-
output_seckey: *mut c_uchar,
526-
keypair: *const KeyPair
527-
) -> c_int;
528-
529-
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_4_1_keypair_pub")]
530-
pub fn secp256k1_keypair_pub(
531-
cx: *const Context,
532-
output_pubkey: *mut PublicKey,
533-
keypair: *const KeyPair
534-
) -> c_int;
535533
}
536534

537535
/// A reimplementation of the C function `secp256k1_context_create` in rust.

0 commit comments

Comments
 (0)