Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
6f8041a2
Commit
6f8041a2
authored
3 years ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Move all exported variables into extern "C" block
parent
9166b520
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#2766
passed
3 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conio/ciolib.h
+9
-11
9 additions, 11 deletions
src/conio/ciolib.h
with
9 additions
and
11 deletions
src/conio/ciolib.h
+
9
−
11
View file @
6f8041a2
...
@@ -241,10 +241,6 @@ struct text_info {
...
@@ -241,10 +241,6 @@ struct text_info {
unsigned
char
cury
;
/* y-coordinate in current window */
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
{
struct
mouse_event
{
int
event
;
int
event
;
int
bstate
;
int
bstate
;
...
@@ -267,8 +263,6 @@ struct conio_font_data_struct {
...
@@ -267,8 +263,6 @@ struct conio_font_data_struct {
enum
ciolib_codepage
cp
;
enum
ciolib_codepage
cp
;
};
};
CIOLIBEXPORTVAR
struct
conio_font_data_struct
conio_fontdata
[
257
];
struct
ciolib_pixels
{
struct
ciolib_pixels
{
uint32_t
*
pixels
;
uint32_t
*
pixels
;
uint32_t
*
pixelsb
;
uint32_t
*
pixelsb
;
...
@@ -386,6 +380,15 @@ typedef struct {
...
@@ -386,6 +380,15 @@ typedef struct {
void
(
*
setwinposition
)
(
int
x
,
int
y
);
void
(
*
setwinposition
)
(
int
x
,
int
y
);
}
cioapi_t
;
}
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
cioapi_t
cio_api
;
CIOLIBEXPORTVAR
int
_wscroll
;
CIOLIBEXPORTVAR
int
_wscroll
;
CIOLIBEXPORTVAR
int
directvideo
;
CIOLIBEXPORTVAR
int
directvideo
;
...
@@ -396,11 +399,6 @@ CIOLIBEXPORTVAR char *ciolib_appname;
...
@@ -396,11 +399,6 @@ CIOLIBEXPORTVAR char *ciolib_appname;
CIOLIBEXPORTVAR
int
ciolib_initial_window_height
;
CIOLIBEXPORTVAR
int
ciolib_initial_window_height
;
CIOLIBEXPORTVAR
int
ciolib_initial_window_width
;
CIOLIBEXPORTVAR
int
ciolib_initial_window_width
;
#define _conio_kbhit() kbhit()
#ifdef __cplusplus
extern
"C"
{
#endif
CIOLIBEXPORT
int
initciolib
(
int
mode
);
CIOLIBEXPORT
int
initciolib
(
int
mode
);
CIOLIBEXPORT
void
suspendciolib
(
void
);
CIOLIBEXPORT
void
suspendciolib
(
void
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment