]> git.mxchange.org Git - flightgear.git/blobdiff - Astro/sun.h
Prepairing for C++ integration.
[flightgear.git] / Astro / sun.h
index 0132f2a1e88921221af661f55fa7df8492bcca44..b9f6f0b03825ee2de41a3977aa8453229c1881ee 100644 (file)
 #define _SUN_H
 
 
-extern struct fgSUNPOS solarPosition;
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
+extern fgSUNPOS solarPosition;
 
 
 void fgCalcSunPos (struct OrbElements sunParams);
@@ -40,15 +45,26 @@ void fgSunInit( void );
 void fgSunRender( void );
 
 
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif /* _SUN_H */
 
 
 /* $Log$
-/* Revision 1.4  1998/02/23 19:07:57  curt
-/* Incorporated Durk's Astro/ tweaks.  Includes unifying the sun position
-/* calculation code between sun display, and other FG sections that use this
-/* for things like lighting.
+/* Revision 1.6  1998/04/21 17:02:33  curt
+/* Prepairing for C++ integration.
 /*
+ * Revision 1.5  1998/03/09 22:47:26  curt
+ * Incorporated Durk's updates.
+ *
+ * Revision 1.4  1998/02/23 19:07:57  curt
+ * Incorporated Durk's Astro/ tweaks.  Includes unifying the sun position
+ * calculation code between sun display, and other FG sections that use this
+ * for things like lighting.
+ *
  * Revision 1.3  1998/01/22 02:59:29  curt
  * Changed #ifdef FILE_H to #ifdef _FILE_H
  *