also looking at this
feat(ios): signInWithApple, and scanQRCode's real reason — ratchet 25 → 23
#122
6 files
+591
-5
| @@ -62,6 +62,16 @@ pub const enc = struct { | ||
| 62 | 62 | /// `B` is C99 `_Bool`: on 64-bit Apple platforms `__OBJC_BOOL_IS_BOOL` is |
| 63 | 63 | /// defined, so `BOOL` is `bool` rather than `signed char`. |
| 64 | 64 | pub const bool_two_objects: [:0]const u8 = "B@:@@"; |
| 65 | /// `- (id)m:(id)a` — one object argument, **returning an object**. | |
| 66 | /// `presentationAnchorForAuthorizationController:` is this shape: it hands | |
| 67 | /// back the `UIWindow` the sheet is presented over. | |
| 68 | /// | |
| 69 | /// The first character is the return type, so this differs from | |
| 70 | /// `void_one_object` only in that leading `@`. Getting it wrong is not a | |
| 71 | /// compile error — the runtime would read a window pointer out of a | |
| 72 | /// function declared to return nothing, and the sheet would come up over | |
| 73 | /// garbage or not at all. | |
| 74 | pub const object_one_object: [:0]const u8 = "@@:@"; | |
| 65 | 75 | }; |
| 66 | 76 | |
| 67 | 77 | /// One method to add to a class. |