Skip to content

Conversation

@davidolesch
Copy link

Fixed conflicting parameter types.

Fixed conflicting parameter types.
@davidolesch
Copy link
Author

The method signatures are different in the header and implementation files.

@siuying
Copy link
Owner

siuying commented Feb 4, 2016

Thanks for point out this.

I changed the header file to use type int because, unless I remove the import #import <libxml2/libxml/HTMLparser.h>, Swift will throw a compiler error about module. I'll see if there is a proper solution for this.

Meanwhile, I believe the right change should be using int instead of htmlParserOption in the implementation file.

@davidolesch
Copy link
Author

@siuying that should work too 👍

@davidolesch davidolesch changed the title Update IGHTMLDocument.h Change implementation method signature to declare type is int Feb 4, 2016
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