libcss
Loading...
Searching...
No Matches
arena.h
Go to the documentation of this file.
1/*
2 * This file is part of LibCSS
3 * Licensed under the MIT License,
4 * http://www.opensource.org/licenses/mit-license.php
5 *
6 * Copyright 2015 Michael Drake <tlsa@netsurf-browser.org>
7 */
8
9#ifndef css_select_arena_h_
10#define css_select_arena_h_
11
13
14/*
15 * Add computed style to the style sharing arena, or exchange for existing
16 *
17 * This takes a computed style. Note that the original computed style
18 * may be freed by this call and all future usage should be via the
19 * updated computed style parameter.
20 *
21 * \params style The style to intern; possibly freed and updated
22 * \return CSS_OK on success or appropriate error otherwise.
23 */
25
26/*
27 * Remove a computed style from the style sharing arena
28 *
29 * \params style The style to remove from the style sharing arena
30 * \return CSS_OK on success or appropriate error otherwise.
31 */
33
34#endif
35
enum css_error css__arena_remove_style(struct css_computed_style *style)
Definition arena.c:198
enum css_error css__arena_intern_style(struct css_computed_style **style)
Definition arena.c:149
css_error
Definition errors.h:18
Definition autogenerated_computed.h:282