We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a055c3f + 255d1dd commit 5ea300aCopy full SHA for 5ea300a
src/ffi.rs
@@ -159,13 +159,6 @@ extern "C" {
159
seed32: *const c_uchar)
160
-> c_int;
161
162
- // TODO secp256k1_context_set_illegal_callback
163
- // TODO secp256k1_context_set_error_callback
164
- // (Actually, I don't really want these exposed; if either of these
165
- // are ever triggered it indicates a bug in rust-secp256k1, since
166
- // one goal is to use Rust's type system to eliminate all possible
167
- // bad inputs.)
168
-
169
// Pubkeys
170
pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey,
171
input: *const c_uchar, in_len: usize)
@@ -738,4 +731,4 @@ mod tests {
738
731
739
732
assert_eq!(orig.len(), unsafe {strlen(test.as_ptr())});
740
733
}
741
-}
734
+}
0 commit comments