summaryrefslogtreecommitdiff
path: root/src/select/assets.py
blob: 7786be4741ac82b147042c97d87750ee5a059368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This file is part of LibCSS.
# Licensed under the MIT License,
# http://www.opensource.org/licenses/mit-license.php
# Copyright 2017 Lucas Neves <lcneves@gmail.com>

copyright = '''\
/*
 * This file is part of LibCSS
 * Licensed under the MIT License,
 *                http://www.opensource.org/licenses/mit-license.php
 * Copyright 2017 The NetSurf Project
 */
'''

include_propget = '''\

#include "select/propget.h"
'''

calc_unions = '''\

typedef union {
	css_fixed value;
	lwc_string *calc;
} css_fixed_or_calc;
'''

assets = {}

assets['computed.h'] = {}
assets['computed.h']['header'] = copyright + calc_unions
assets['computed.h']['footer'] = ''

assets['propset.h'] = {}
assets['propset.h']['header'] = copyright + include_propget
assets['propset.h']['footer'] = ''

assets['propget.h'] = {}
assets['propget.h']['header'] = copyright
assets['propget.h']['footer'] = ''