Skip to content

Commit 74fc953

Browse files
committed
[Rust] impl Send and Sync to CoreLanguageRepresentationFunctionType
1 parent 2678767 commit 74fc953

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rust/src/language_representation.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ pub struct CoreLanguageRepresentationFunctionType {
123123
handle: NonNull<BNLanguageRepresentationFunctionType>,
124124
}
125125

126+
unsafe impl Send for CoreLanguageRepresentationFunctionType {}
127+
unsafe impl Sync for CoreLanguageRepresentationFunctionType {}
128+
126129
impl CoreLanguageRepresentationFunctionType {
127130
pub(crate) unsafe fn from_raw(handle: NonNull<BNLanguageRepresentationFunctionType>) -> Self {
128131
Self { handle }

0 commit comments

Comments
 (0)