Skip to content

Commit 287fd74

Browse files
committed
Add posix port headers for ib build tool support
Add missing header files to misc implementations for ib build tool
1 parent d021b90 commit 287fd74

22 files changed

+382
-17
lines changed

source/mycss/property/parser_background.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Author: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "mycss/property/parser.h"
21+
#include "mycss/property/parser_background.h"
2222

2323
bool mycss_property_parser_background_position_check(mycss_values_background_position_t *position)
2424
{
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
Copyright (C) 2015-2017 Alexander Borisov
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
18+
Authors: [email protected] (Alexander Borisov)
19+
*/
20+
21+
#ifndef MyCSS_PROPERTY_PARSER_BACKGROUND_H
22+
#define MyCSS_PROPERTY_PARSER_BACKGROUND_H
23+
#pragma once
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
#include "mycss/property/parser.h"
30+
31+
#ifdef __cplusplus
32+
} /* extern "C" */
33+
#endif
34+
35+
#endif /* MyCSS_PROPERTY_PARSER_BACKGROUND_H */

source/mycss/property/parser_image.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Author: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "mycss/property/parser.h"
21+
#include "mycss/property/parser_image.h"
2222

2323
mycss_values_image_image_set_option_t * mycss_property_parser_image_function_get_next_option(mycss_entry_t* entry, mycss_values_image_image_set_t *ii_set)
2424
{

source/mycss/property/parser_image.h

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
Copyright (C) 2015-2017 Alexander Borisov
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
18+
Authors: [email protected] (Alexander Borisov)
19+
*/
20+
21+
#ifndef MyCSS_PROPERTY_PARSER_IMAGE_H
22+
#define MyCSS_PROPERTY_PARSER_IMAGE_H
23+
#pragma once
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
#include "mycss/property/parser.h"
30+
31+
#ifdef __cplusplus
32+
} /* extern "C" */
33+
#endif
34+
35+
#endif /* MyCSS_PROPERTY_PARSER_IMAGE_H */

source/mycss/property/parser_text_decoration.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Author: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "mycss/property/parser.h"
21+
#include "mycss/property/parser_text_decoration.h"
2222

2323
static void mycss_property_parser_text_decoration_parser_switch(mycss_entry_t* entry)
2424
{
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
Copyright (C) 2015-2017 Alexander Borisov
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
18+
Authors: [email protected] (Alexander Borisov)
19+
*/
20+
21+
#ifndef MyCSS_PROPERTY_PARSER_TEXT_DECORATION_H
22+
#define MyCSS_PROPERTY_PARSER_TEXT_DECORATION_H
23+
#pragma once
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
#include "mycss/property/parser.h"
30+
31+
#ifdef __cplusplus
32+
} /* extern "C" */
33+
#endif
34+
35+
#endif /* MyCSS_PROPERTY_PARSER_TEXT_DECORATION_H */

source/mycss/property/parser_url.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Author: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "mycss/property/parser.h"
21+
#include "mycss/property/parser_url.h"
2222

2323
static void mycss_values_parser_url_switch(mycss_entry_t* entry)
2424
{

source/mycss/property/parser_url.h

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
Copyright (C) 2015-2017 Alexander Borisov
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
18+
Authors: [email protected] (Alexander Borisov)
19+
*/
20+
21+
#ifndef MyCSS_PROPERTY_PARSER_URL_H
22+
#define MyCSS_PROPERTY_PARSER_URL_H
23+
#pragma once
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
#include "mycss/property/parser.h"
30+
31+
#ifdef __cplusplus
32+
} /* extern "C" */
33+
#endif
34+
35+
#endif /* MyCSS_PROPERTY_PARSER_URL_H */

source/myencoding/detect.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
Author: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "myencoding/encoding.h"
22-
#include "myencoding/detect_resource.h"
23-
#include "mycore/utils/resources.h"
21+
#include "myencoding/detect.h"
2422

2523
myencoding_trigram_result_t myencoding_detect_by_trigram(unsigned const char *u_text, size_t length,
2624
const myencoding_trigram_t *list, size_t list_length,

source/myencoding/detect.h

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
Copyright (C) 2015-2017 Alexander Borisov
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
18+
Authors: [email protected] (Alexander Borisov)
19+
*/
20+
21+
#ifndef MyENCODING_DETECT_H
22+
#define MyENCODING_DETECT_H
23+
#pragma once
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
#include "myencoding/encoding.h"
30+
#include "myencoding/detect_resource.h"
31+
#include "mycore/utils/resources.h"
32+
33+
#ifdef __cplusplus
34+
} /* extern "C" */
35+
#endif
36+
37+
#endif /* MyENCODING_DETECT_H */

source/myhtml/tag_init.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
Author: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "mycore/utils/resources.h"
22-
#include "myhtml/tag.h"
21+
#include "myhtml/tag_init.h"
2322

2423
static const myhtml_tag_context_t myhtml_tag_base_list[MyHTML_TAG_LAST_ENTRY] =
2524
{

source/myhtml/tag_init.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
Copyright (C) 2015-2017 Alexander Borisov
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
18+
Authors: [email protected] (Alexander Borisov)
19+
*/
20+
21+
#ifndef MyHTML_TAG_INIT_H
22+
#define MyHTML_TAG_INIT_H
23+
#pragma once
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
#include "mycore/utils/resources.h"
30+
#include "myhtml/tag.h"
31+
32+
#ifdef __cplusplus
33+
} /* extern "C" */
34+
#endif
35+
36+
#endif /* MyHTML_TAG_INIT_H */

source/myport/posix/mycore/io.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
Author: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "mycore/myosi.h"
22-
#include <stdarg.h>
21+
#include "myport/posix/mycore/io.h"
2322

2423
/* FILE */
2524
FILE * mycore_fopen(const char *filename, const char *mode)

source/myport/posix/mycore/io.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#ifndef MyPORT_POSIX_MYCORE_IO_H
2+
#define MyPORT_POSIX_MYCORE_IO_H
3+
#pragma once
4+
5+
#ifdef __cplusplus
6+
extern "C" {
7+
#endif
8+
9+
#include "mycore/myosi.h"
10+
#include <stdarg.h>
11+
12+
#ifdef __cplusplus
13+
} /* extern "C" */
14+
#endif
15+
16+
#endif /* MyPORT_POSIX_MYCORE_IO_H */

source/myport/posix/mycore/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Author: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "mycore/myosi.h"
21+
#include "myport/posix/mycore/memory.h"
2222

2323
void * mycore_malloc(size_t size)
2424
{

source/myport/posix/mycore/memory.h

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
Copyright (C) 2015-2017 Alexander Borisov
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
18+
Authors: [email protected] (Alexander Borisov)
19+
*/
20+
21+
#ifndef MyPORT_POSIX_MYCORE_MEMORY_H
22+
#define MyPORT_POSIX_MYCORE_MEMORY_H
23+
#pragma once
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
#include <mycore/myosi.h>
30+
31+
#ifdef __cplusplus
32+
} /* extern "C" */
33+
#endif
34+
35+
#endif /* MyPORT_POSIX_MYCORE_MEMORY_H */

source/myport/posix/mycore/perf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
Authors: [email protected] (Alexander Borisov)
1919
*/
2020

21-
#include "mycore/myosi.h"
22-
#include "mycore/perf.h"
21+
#include "myport/posix/mycore/perf.h"
2322

2423
#ifdef MyCORE_WITH_PERF
2524

source/myport/posix/mycore/perf.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
Copyright (C) 2015-2017 Alexander Borisov
3+
4+
This library is free software; you can redistribute it and/or
5+
modify it under the terms of the GNU Lesser General Public
6+
License as published by the Free Software Foundation; either
7+
version 2.1 of the License, or (at your option) any later version.
8+
9+
This library is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12+
Lesser General Public License for more details.
13+
14+
You should have received a copy of the GNU Lesser General Public
15+
License along with this library; if not, write to the Free Software
16+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17+
18+
Authors: [email protected] (Alexander Borisov)
19+
*/
20+
21+
#ifndef MyPORT_POSIX_MYCORE_PERF_H
22+
#define MyPORT_POSIX_MYCORE_PERF_H
23+
#pragma once
24+
25+
#ifdef __cplusplus
26+
extern "C" {
27+
#endif
28+
29+
#include "mycore/myosi.h"
30+
#include "mycore/perf.h"
31+
32+
#ifdef __cplusplus
33+
} /* extern "C" */
34+
#endif
35+
36+
#endif /* MyPORT_POSIX_MYCORE_PERF_H */

0 commit comments

Comments
 (0)