libxputty  0.1
A damn tiny abstraction Layer to create X11 window/widgets with cairo surfaces
xchildlist_private.h
Go to the documentation of this file.
1 /*
2  * 0BSD
3  *
4  * BSD Zero Clause License
5  *
6  * Copyright (c) 2019 Hermann Meyer
7  *
8  * Permission to use, copy, modify, and/or distribute this software for any
9  * purpose with or without fee is hereby granted.
10 
11  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
12  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13  * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
16  * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17  * PERFORMANCE OF THIS SOFTWARE.
18  *
19  */
20 
21 /**
22  * here are the private functions from xchildlist
23  */
24 
25 #pragma once
26 
27 #ifndef XCHILDLIST_PRIVATE_H_
28 #define XCHILDLIST_PRIVATE_H_
29 
30 #include "xputty.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /**
37  * @brief _childlist_add_elem - internal use to reallocate the
38  * childlist array to new size
39  * \n You didn't need to call this
40  * @param *childlist - pointer to the Childlist_t
41  * @return void
42  */
43 
44 void _childlist_add_elem(Childlist_t *childlist);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif // XCHILDLIST_PRIVATE_H_
_childlist_add_elem
void _childlist_add_elem(Childlist_t *childlist)
_childlist_add_elem - internal use to reallocate the childlist array to new size You didn't need to...
Definition: xchildlist_private.c:23
xputty.h
Childlist_t
Childlist_t - struct to hold a Widget_t child list Xputty main holds a list of any Widget_t created...
Definition: xchildlist.h:49