ffi/unsafe/objc: method installed by method_setImplementation as atomic

Just in case.
This commit is contained in:
Matthew Flatt 2020-12-02 13:00:22 -07:00
parent abc4a1fe8a
commit ef664169e1

View File

@ -37,7 +37,7 @@
(lambda (v) (not (eq? v 0)))))
(define _Method (_cpointer/null 'Method))
(define _IMP (_fun #:async-apply (lambda (f) (f)) _id _SEL -> _id))
(define _IMP (_fun #:atomic? #t #:async-apply (lambda (f) (f)) _id _SEL -> _id))
(define-cstruct _objc_super ([receiver _id][class _Class]))