changeset 426:3b63f8b1c224

Irccd: remove extern C from duktape.h to fix possible undefined references
author David Demelier <markand@malikania.fr>
date Fri, 10 Feb 2017 13:27:12 +0100
parents 70b0c9e40131
children cbea51723652 18574b79e422
files extern/duktape/duktape.h
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/extern/duktape/duktape.h	Thu Feb 09 18:44:22 2017 +0100
+++ b/extern/duktape/duktape.h	Fri Feb 10 13:27:12 2017 +0100
@@ -149,14 +149,6 @@
 #define DUK_API_PUBLIC_H_INCLUDED
 
 /*
- *  Avoid C++ name mangling
- */
-
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
-/*
  *  Some defines forwarded from feature detection
  */
 
@@ -1219,15 +1211,6 @@
 DUK_EXTERNAL_DECL const void * const duk_rom_compressed_pointers[];
 #endif
 
-/*
- *  C++ name mangling
- */
-
-#if defined(__cplusplus)
-/* end 'extern "C"' wrapper */
-}
-#endif
-
 #endif  /* DUK_API_PUBLIC_H_INCLUDED */
 
 /*