Skip to content

Commit

Permalink
Merge pull request #144 from franklinsch/143-rename-public-to-external
Browse files Browse the repository at this point in the history
using `external` instead of `public` for method declarations, fixing #143
  • Loading branch information
franklinsch authored Feb 22, 2018
2 parents 5e2880e + 18c143b commit 23bc6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/IRGen/IULIAInterface.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ struct IULIAInterface {
returnCode = ""
}

return "function \(functionDeclaration.identifier.name)(\(parameters)) \(attribute)public\(returnCode);"
return "function \(functionDeclaration.identifier.name)(\(parameters)) \(attribute)external\(returnCode);"
}

func render(_ functionParameter: Parameter) -> String {
Expand Down

0 comments on commit 23bc6de

Please sign in to comment.