projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r40: made c++ compatible
[ctsim.git]
/
include
/
sgp.h
diff --git
a/include/sgp.h
b/include/sgp.h
index e6a93059659bb6c4b0ee00d07649b9ace2977438..fc878ec8a04e4837b71117a12f0cc12b14e6e1e6 100644
(file)
--- a/
include/sgp.h
+++ b/
include/sgp.h
@@
-2,8
+2,11
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgp.h,v 1.
4 2000/04/30 19:17:35
kevin Exp $
+** $Id: sgp.h,v 1.
5 2000/05/07 12:46:19
kevin Exp $
** $Log: sgp.h,v $
** $Log: sgp.h,v $
+** Revision 1.5 2000/05/07 12:46:19 kevin
+** made c++ compatible
+**
** Revision 1.4 2000/04/30 19:17:35 kevin
** Set up include files for conditional INTERACTIVE_GRAPHICS
**
** Revision 1.4 2000/04/30 19:17:35 kevin
** Set up include files for conditional INTERACTIVE_GRAPHICS
**
@@
-37,6
+40,11
@@
#include "kstddef.h"
#include "kmath.h"
#include "kstddef.h"
#include "kmath.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
/* device names */
#define CRTDEV 1
/* device names */
#define CRTDEV 1
@@
-267,5
+275,9
@@
void wrtchar(int ch, int x, int y, CHARSPEC *cspec, DEVICE *dev);
void wrttext(char txtstr[], int x, int y, CHARSPEC *cspec, DEVICE *dev);
void crtcolor(int mode, int *f, int *b);
void wrttext(char txtstr[], int x, int y, CHARSPEC *cspec, DEVICE *dev);
void crtcolor(int mode, int *f, int *b);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif
#endif