From 533f8753b904f69d6172a51d9dd35ca3ddbeb39c Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Tue, 27 Oct 2015 11:45:54 -0400 Subject: [PATCH] Attempt to print the string. --- prototype/doubt-difftool/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prototype/doubt-difftool/main.swift b/prototype/doubt-difftool/main.swift index 9d8f23b70..42060ed3d 100644 --- a/prototype/doubt-difftool/main.swift +++ b/prototype/doubt-difftool/main.swift @@ -40,6 +40,6 @@ if let a = arguments[1] { ts_document_set_input(document, a) ts_document_parse(document) let root = ts_document_root_node(document) - print(ts_node_name(root, document)) + print(String.fromCString(ts_node_name(root, document))) ts_document_free(document) }