diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2018-08-15 13:41:42 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2018-08-15 13:43:01 +0100 |
commit | 6a783002e8b17995132fc6334b4e0900c36bf9a0 (patch) | |
tree | f94f63f95c6f9997553d31b46ca08743597b584b /src/util/dom-str.c | |
parent | b77ae8ab7d1ce435d8afd3c77613c5a56c477025 (diff) | |
download | libnslayout-6a783002e8b17995132fc6334b4e0900c36bf9a0.tar.gz libnslayout-6a783002e8b17995132fc6334b4e0900c36bf9a0.tar.bz2 |
Library: Use `nsl` as library namespace.
Diffstat (limited to 'src/util/dom-str.c')
-rw-r--r-- | src/util/dom-str.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/dom-str.c b/src/util/dom-str.c index 3c0865a..db53c76 100644 --- a/src/util/dom-str.c +++ b/src/util/dom-str.c @@ -23,9 +23,9 @@ dom_string *nsl_dom_str_characterdata_modified; /* Exported function, documented in src/util/dom-str.h */ -nslayout_error nsl_dom_str_init(void) +nsl_error nsl_dom_str_init(void) { - nslayout_error err; + nsl_error err; dom_exception exc; exc = dom_string_create((const uint8_t *)"DOMNodeInserted", @@ -59,7 +59,7 @@ nslayout_error nsl_dom_str_init(void) goto out; } - err = NSLAYOUT_OK; + err = NSL_OK; out: if (exc != DOM_NO_ERR) { printf("Failed to initialise dom_str!\n"); @@ -72,7 +72,7 @@ out: /* Exported function, documented in src/util/dom-str.h */ -nslayout_error nsl_dom_str_fini(void) +nsl_error nsl_dom_str_fini(void) { dom_string_unref(nsl_dom_str_node_inserted); dom_string_unref(nsl_dom_str_node_removed); @@ -80,5 +80,5 @@ nslayout_error nsl_dom_str_fini(void) dom_string_unref(nsl_dom_str_attr_modified); dom_string_unref(nsl_dom_str_characterdata_modified); - return NSLAYOUT_OK; + return NSL_OK; } |