Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
6f8041a2
Commit
6f8041a2
authored
Feb 23, 2022
by
Deucе
👌🏾
Browse files
Move all exported variables into extern "C" block
parent
9166b520
Pipeline
#2766
passed with stage
in 9 minutes and 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
src/conio/ciolib.h
src/conio/ciolib.h
+9
-11
No files found.
src/conio/ciolib.h
View file @
6f8041a2
...
...
@@ -241,10 +241,6 @@ struct text_info {
unsigned
char
cury
;
/* y-coordinate in current window */
};
CIOLIBEXPORTVAR
struct
text_info
cio_textinfo
;
CIOLIBEXPORTVAR
uint32_t
ciolib_fg
;
CIOLIBEXPORTVAR
uint32_t
ciolib_bg
;
struct
mouse_event
{
int
event
;
int
bstate
;
...
...
@@ -267,8 +263,6 @@ struct conio_font_data_struct {
enum
ciolib_codepage
cp
;
};
CIOLIBEXPORTVAR
struct
conio_font_data_struct
conio_fontdata
[
257
];
struct
ciolib_pixels
{
uint32_t
*
pixels
;
uint32_t
*
pixelsb
;
...
...
@@ -386,6 +380,15 @@ typedef struct {
void
(
*
setwinposition
)
(
int
x
,
int
y
);
}
cioapi_t
;
#define _conio_kbhit() kbhit()
#ifdef __cplusplus
extern
"C"
{
#endif
CIOLIBEXPORTVAR
struct
text_info
cio_textinfo
;
CIOLIBEXPORTVAR
struct
conio_font_data_struct
conio_fontdata
[
257
];
CIOLIBEXPORTVAR
uint32_t
ciolib_fg
;
CIOLIBEXPORTVAR
uint32_t
ciolib_bg
;
CIOLIBEXPORTVAR
cioapi_t
cio_api
;
CIOLIBEXPORTVAR
int
_wscroll
;
CIOLIBEXPORTVAR
int
directvideo
;
...
...
@@ -396,11 +399,6 @@ CIOLIBEXPORTVAR char *ciolib_appname;
CIOLIBEXPORTVAR
int
ciolib_initial_window_height
;
CIOLIBEXPORTVAR
int
ciolib_initial_window_width
;
#define _conio_kbhit() kbhit()
#ifdef __cplusplus
extern
"C"
{
#endif
CIOLIBEXPORT
int
initciolib
(
int
mode
);
CIOLIBEXPORT
void
suspendciolib
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment