aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/string.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-11-10 17:12:16 -0800
committerGitHub <[email protected]>2017-11-10 17:12:16 -0800
commit2b3dda12a497ec67fd621ef069e0ad97105513d5 (patch)
treeac7fc87f39f98b905fa8c388b498749f28b18413 /openssl/src/string.rs
parentMerge pull request #757 from bvinc/master (diff)
parentAdded a macro that wraps foreign type, and impl Send and Sync for both, (diff)
downloadrust-openssl-2b3dda12a497ec67fd621ef069e0ad97105513d5.tar.xz
rust-openssl-2b3dda12a497ec67fd621ef069e0ad97105513d5.zip
Merge pull request #773 from gbip/master
Impl Send and Sync for all types which are created by `foreign_type` !
Diffstat (limited to 'openssl/src/string.rs')
-rw-r--r--openssl/src/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/string.rs b/openssl/src/string.rs
index 0324d577..af58130e 100644
--- a/openssl/src/string.rs
+++ b/openssl/src/string.rs
@@ -8,7 +8,7 @@ use std::str;
use stack::Stackable;
-foreign_type! {
+foreign_type_and_impl_send_sync! {
type CType = c_char;
fn drop = free;