| Summary: | [Patch] Add NSLog support for iOS | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ethan Lee <flibitijibibo> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | iOS (All) | ||
| Attachments: |
Add NSLog support for iOS
[v2] Add NSLog support for iOS |
||
Created attachment 3885 [details]
[v2] Add NSLog support for iOS
Turns out it's been defined in uikit.m this whole time... removed the duplicate, but added the same comment and safeguard for duplicate symbols.
Patch added, thanks! https://hg.libsdl.org/SDL/rev/05dddfb66b85 |
Created attachment 3884 [details] Add NSLog support for iOS Attached is an untested patch to add SDL_NSLog to the UIKit backend. This is basically copypasting the hack to use NSLog on Cocoa, with some documentation to make that clear. In a perfect world we'd add this to something like src/core/apple/SDL_nslog.m or something, but raise your hand if you want to add that to every project generator...