summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/language_representation.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/src/language_representation.rs b/rust/src/language_representation.rs
index d39cb95f..470d67b0 100644
--- a/rust/src/language_representation.rs
+++ b/rust/src/language_representation.rs
@@ -123,6 +123,9 @@ pub struct CoreLanguageRepresentationFunctionType {
handle: NonNull<BNLanguageRepresentationFunctionType>,
}
+unsafe impl Send for CoreLanguageRepresentationFunctionType {}
+unsafe impl Sync for CoreLanguageRepresentationFunctionType {}
+
impl CoreLanguageRepresentationFunctionType {
pub(crate) unsafe fn from_raw(handle: NonNull<BNLanguageRepresentationFunctionType>) -> Self {
Self { handle }