Skip to content

Fixed wrong return type - #502

Open
werner77 wants to merge 2 commits into
SVGKit:2.xfrom
werner77:2.x
Open

werner77 wants to merge 2 commits into
SVGKit:2.xfrom
werner77:2.x

Conversation

@werner77

Copy link
Copy Markdown

No description provided.

@adamgit

adamgit commented Dec 12, 2016

Copy link
Copy Markdown
Contributor

Someone made the same change recently, and I requested that they either change the method name too (since it CANNOT have this return type with that name!) and/or change the implementation to return void.

So, either:

SVGKParser* parserWithContentsOfFileAsynchronously:

or

void asynchronouslyParseImageWithContentsOfFile:

...the former would have least impact on existing code, and so I think is better? (but I'd appreciate input from others on this - either way it will definitely impact existing projects)

@werner77

werner77 commented Dec 12, 2016 via email

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants