mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
netsurf: use const char w/ parser wrapper
This commit is contained in:
2
vendor/netsurf/wrapper/wrapper.c
vendored
2
vendor/netsurf/wrapper/wrapper.c
vendored
@@ -10,7 +10,7 @@
|
||||
* \param string The HTML string
|
||||
* \return pointer to DOM document, or NULL on error
|
||||
*/
|
||||
dom_document *wr_create_doc_dom_from_string(char *html)
|
||||
dom_document *wr_create_doc_dom_from_string(const char *html)
|
||||
{
|
||||
dom_hubbub_parser *parser = NULL;
|
||||
dom_hubbub_error error;
|
||||
|
||||
4
vendor/netsurf/wrapper/wrapper.h
vendored
4
vendor/netsurf/wrapper/wrapper.h
vendored
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <dom/dom.h>
|
||||
|
||||
dom_document *wr_create_doc_dom_from_string(char *html);
|
||||
dom_document *wr_create_doc_dom_from_file(char *filename);
|
||||
dom_document *wr_create_doc_dom_from_string(const char *html);
|
||||
dom_document *wr_create_doc_dom_from_file(const char *filename);
|
||||
|
||||
#endif /* wrapper_dom_h_ */
|
||||
|
||||
Reference in New Issue
Block a user