We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f005da commit 695cceeCopy full SHA for 695ccee
Sources/Objc/WormholyConstructor.m
@@ -3,7 +3,7 @@
3
/// Library constructor to observe `UIApplicationDidFinishLaunchingNotification` immediately on app launch.
4
/// Calls `applicationDidFinishLaunching` on Wormholy class to initialize Wormholy.
5
/// This is an alternative to a +initialize in Objective-C.
6
-static void __attribute__ ((constructor)) wormholy_constructor() {
+static void __attribute__ ((constructor)) wormholy_constructor(void) {
7
Class class = NSClassFromString(@"Wormholy.Wormholy");
8
SEL selector = NSSelectorFromString(@"applicationDidFinishLaunching");
9
0 commit comments