objc: migrate remaining ns_string call sites to xx NSString

NSLog's fmt, addObserver's name, UIApplicationMain's principal-class, CADisplayLink's run-loop mode, and metal's newLibraryWithSource/newFunctionWithName string args are retyped *NSString, so their call sites read xx "..." instead of ns_string("...".ptr). ns_string is now used only by impl Into(*NSString) for string.
This commit is contained in:
agra
2026-05-30 17:54:23 +03:00
parent 8e3c3ae981
commit a29ede0383
3 changed files with 18 additions and 20 deletions

View File

@@ -72,7 +72,7 @@ objc_registerClassPair :: (cls: *void) ->
// Foundation C-API helpers (Foundation is already linked above via #framework).
// NSLog takes an NSString format; the variadic tail is not exposed here.
NSLog :: (fmt: *void) #foreign;
NSLog :: (fmt: *NSString) #foreign;
// ─── Convenience helpers ────────────────────────────────────────────────
// These hide the typed-fn-pointer cast for the most common shapes. They