this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update stub generators

They work with Swift 4 and the copyrights are for 2018

+5 -5
+1 -1
tools/stub-gen-c-func
··· 47 47 copyright ="""/* 48 48 This file is part of Darling. 49 49 50 - Copyright (C) 2017 Lubos Dolezel 50 + Copyright (C) 2018 Lubos Dolezel 51 51 52 52 Darling is free software: you can redistribute it and/or modify 53 53 it under the terms of the GNU General Public License as published by
+4 -4
tools/stub-gen-objc
··· 28 28 "This file is part of Darling.\n" + 29 29 "\n" + 30 30 31 - "Copyright (C) 2017 Lubos Dolezel\n" + 31 + "Copyright (C) 2018 Lubos Dolezel\n" + 32 32 "\n" + 33 33 34 34 "Darling is free software: you can redistribute it and/or modify\n" + ··· 90 90 91 91 output.removeSubrange(output.startIndex ..< space.upperBound) 92 92 93 - var endOfSuperclass: String.CharacterView.Index! 93 + var endOfSuperclass: String.Index! 94 94 let nextNewline = output.range(of: "\n") 95 95 let nextProtocolConformance = output.range(of: " <") 96 96 if nextNewline != nil && nextProtocolConformance != nil { ··· 104 104 } 105 105 let superclass = output[output.startIndex ..< endOfSuperclass] 106 106 107 - classes.append((class: className, superclass: superclass)) 107 + classes.append((class: String(className), superclass: String(superclass))) 108 108 } 109 109 } 110 110 // End ugly string parsing code ··· 119 119 mh += "#import <Foundation/Foundation.h>\n" 120 120 121 121 // Generate headers and sources for each class 122 - for var classEntry in classes { 122 + for classEntry in classes { 123 123 124 124 mh += "#import <\(moduleName)/\(classEntry.class).h>\n" 125 125