summaryrefslogtreecommitdiff
path: root/src/parse/mq.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-03-10 14:50:02 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-03-10 14:54:57 +0000
commite42684ed2ee84301a0a458fe846e8e107d19bf96 (patch)
tree3077fedf0273e80954783ac50b46e232276c5f80 /src/parse/mq.h
parent0da84ebf34d68cc1f89d057086fdd0f24747b258 (diff)
downloadlibcss-e42684ed2ee84301a0a458fe846e8e107d19bf96.tar.gz
libcss-e42684ed2ee84301a0a458fe846e8e107d19bf96.tar.bz2
Media queries: Move css_parse_media_query to parse/mq.c file.
It's now exposed in the mq.h header too.
Diffstat (limited to 'src/parse/mq.h')
-rw-r--r--src/parse/mq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parse/mq.h b/src/parse/mq.h
index 2940032..0e2f845 100644
--- a/src/parse/mq.h
+++ b/src/parse/mq.h
@@ -87,6 +87,10 @@ typedef struct css_mq_query {
css_mq_cond *cond;
} css_mq_query;
+css_error css_parse_media_query(lwc_string **strings,
+ const uint8_t *mq, size_t len,
+ css_mq_query **media_out);
+
css_error css__mq_parse_media_list(lwc_string **strings,
const parserutils_vector *vector, int *ctx,
css_mq_query **media);