diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2015-08-02 15:50:38 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2015-08-03 22:30:20 +0100 |
commit | 38375045bfc78f6338649ad70b99e7f8a64b3494 (patch) | |
tree | 631465c2dd11418c7cb63c3614cedcb012af1ed9 /include/libnslayout/nslayout.h | |
parent | 8449bb0c102a0ff85e3dc8d4319fac531ea5374f (diff) | |
download | libnslayout-38375045bfc78f6338649ad70b99e7f8a64b3494.tar.gz libnslayout-38375045bfc78f6338649ad70b99e7f8a64b3494.tar.bz2 |
Add error header.
Diffstat (limited to 'include/libnslayout/nslayout.h')
-rw-r--r-- | include/libnslayout/nslayout.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/libnslayout/nslayout.h b/include/libnslayout/nslayout.h index 2610e42..b486cba 100644 --- a/include/libnslayout/nslayout.h +++ b/include/libnslayout/nslayout.h @@ -20,6 +20,8 @@ extern "C" #include <libcss/libcss.h> #include <dom/dom.h> +#include <libnslayout/error.h> + /** An opaque client-owned replaced element */ typedef void nslayout_replaced; @@ -86,11 +88,6 @@ typedef struct nslayout_request { } response; } nslayout_request; -/** Libnslayout return codes */ -typedef enum nslayout_error { - NSLAYOUT_OK, - NSLAYOUT_NO_MEM -} nslayout_error; /** * Initialise LibNSLayout |