]> git.sur5r.net Git - cc65/commitdiff
Add 'extern "C"' so the module may be used from C++ sources.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 9 Aug 2010 15:55:49 +0000 (15:55 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 9 Aug 2010 15:55:49 +0000 (15:55 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4801 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/dbginfo/dbginfo.h

index 8d155f5faa586e8b6cbe3206145143f04b744714..65587605cd32f116006fccf21b98a2e98ef8d644 100644 (file)
 
 
 
+/* Allow usage from C++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
 /*****************************************************************************/
 /*                                          Data                                    */
 /*****************************************************************************/
@@ -183,10 +190,15 @@ void cc65_free_segmentinfo (cc65_dbginfo handle, cc65_segmentinfo* info);
 
 
 
-/* End of dbginfo.h */
-
+/* Allow usage from C++ */
+#ifdef __cplusplus
+}
 #endif
 
 
 
+/* End of dbginfo.h */
+#endif
+
+