Skip to content

Commit e6884fb

Browse files
committed
netsurf: remove inline for documentCreateHTMLElement*
1 parent 39fc5a7 commit e6884fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/browser/netsurf.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ pub inline fn documentCreateDocument(title: ?[]const u8) !*DocumentHTML {
21562156
return doc_html;
21572157
}
21582158

2159-
pub inline fn documentCreateHTMLElement(doc: *Document, tag_name: []const u8) !*Element {
2159+
pub fn documentCreateHTMLElement(doc: *Document, tag_name: []const u8) !*Element {
21602160
var elem: ?*Element = undefined;
21612161
const err = c._dom_html_document_create_element(doc, try strFromData(tag_name), &elem);
21622162
try DOMErr(err);
@@ -2170,7 +2170,7 @@ pub inline fn documentCreateElement(doc: *Document, tag_name: []const u8) !*Elem
21702170
return elem.?;
21712171
}
21722172

2173-
pub inline fn documentCreateHTMLElementNS(doc: *Document, ns: []const u8, tag_name: []const u8) !*Element {
2173+
pub fn documentCreateHTMLElementNS(doc: *Document, ns: []const u8, tag_name: []const u8) !*Element {
21742174
var elem: ?*Element = undefined;
21752175
const err = c._dom_html_document_create_element_ns(
21762176
doc,

0 commit comments

Comments
 (0)