Skip to content

Commit 75f4b93

Browse files
authored
[Rust] impl Send and Sync to CoreLanguageRepresentationFunctionType (#8012)
1 parent 3feaf74 commit 75f4b93

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)