While browsing the implementation of @synchronized, I noticed that the
signatures in Clang for objc_sync_enter and objc_sync_exit didn't
match the signatures in the objc4 sources on opensource.apple.com
(http://www.opensource.apple.com/source/objc4/objc4-532/runtime/objc-sync.h).
Attached is a patch that updates CGObjCMac to correct the return type.
The rewriter also has this problem, but since I am less familiar with
the rewriter I have attached it as a separate patch.

-- Joe Ranieri

Attachment: objc_sync.diff
Description: Binary data

Attachment: objc_sync_rewriter.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to