From ac42344d05ec326f0063133498ec1c040e924db2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 5 Dec 2010 23:52:56 +0000 Subject: Remove bootstrap infrastructure, and just make dom_implementation a stub. We only support a single implementation, so all the registry and implementation list stuff is totally unnecesary and overcomplex svn path=/trunk/dom/; revision=11017 --- test/DOMTSHandler.pm | 1 - test/testutils/domtsasserts.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'test') diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm index ce392c0..0bd4b81 100644 --- a/test/DOMTSHandler.pm +++ b/test/DOMTSHandler.pm @@ -362,7 +362,6 @@ sub generate_main { #include #include -#include #include diff --git a/test/testutils/domtsasserts.c b/test/testutils/domtsasserts.c index bd0eab1..488f294 100644 --- a/test/testutils/domtsasserts.c +++ b/test/testutils/domtsasserts.c @@ -14,8 +14,6 @@ #include "domts.h" -extern dom_implementation *doc_impl; - void __assert2(const char *expr, const char *function, const char *file, int line) { @@ -237,7 +235,7 @@ bool has_feature(char *feature, char *version) return false; } - err = dom_implementation_has_feature(doc_impl, df, dv, &ret); + err = dom_implementation_has_feature(df, dv, &ret); /* Here, when we come with exception, we should return false, * TODO: this need to be improved, but I can't figure out how */ if (err != DOM_NO_ERR) { -- cgit v1.2.3