Skip to content

Instantly share code, notes, and snippets.

@zamith
Created May 28, 2015 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zamith/a63913959d9d4ed67650 to your computer and use it in GitHub Desktop.
Save zamith/a63913959d9d4ed67650 to your computer and use it in GitHub Desktop.
(node.v.element.children.data[0].value as LibGumbo::GumboNode).value.type
# Lib
struct GumboNode
type: GumboNodeType
parent: GumboNode*
index_with_parent: LibC::SizeT
parse_flags: GumboParseFlags
v: Node
end
# children
struct GumboVector
data: Void**
length: Int32
capacity: Int32
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment