add createElementNS, will hopefully fix svgs for karax (#16938)

This commit is contained in:
Antonis Geralis 2021-02-05 01:33:27 +02:00 • committed by GitHub
commit 9ded85e1b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1467,6 +1467,7 @@ else:
proc insertBefore*(n, newNode, before: Node) {.importcpp.} proc insertBefore*(n, newNode, before: Node) {.importcpp.}
proc getElementById*(d: Document, id: cstring): Element {.importcpp.} proc getElementById*(d: Document, id: cstring): Element {.importcpp.}
proc createElement*(d: Document, identifier: cstring): Element {.importcpp.} proc createElement*(d: Document, identifier: cstring): Element {.importcpp.}
proc createElementNS*(d: Document, namespaceURI, qualifiedIdentifier: cstring): Element {.importcpp.}
proc createTextNode*(d: Document, identifier: cstring): Node {.importcpp.} proc createTextNode*(d: Document, identifier: cstring): Node {.importcpp.}
proc createComment*(d: Document, data: cstring): Node {.importcpp.} proc createComment*(d: Document, data: cstring): Node {.importcpp.}