X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fsgp.h;h=fc878ec8a04e4837b71117a12f0cc12b14e6e1e6;hp=e6a93059659bb6c4b0ee00d07649b9ace2977438;hb=44ba0e9facc91003bf3ef32876f8b8ac5439c3c1;hpb=da11926c1039ae4c880915db508d69614ec7c79e diff --git a/include/sgp.h b/include/sgp.h index e6a9305..fc878ec 100644 --- 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 ** -** $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 $ +** 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 ** @@ -37,6 +40,11 @@ #include "kstddef.h" #include "kmath.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + + /* 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); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif