changeset 52:d33d65c3a10c

duktape: remove extern C
author David Demelier <markand@malikania.fr>
date Fri, 10 Feb 2017 16:08:06 +0100
parents 2856db357c69
children 77572c8f0583
files duktape/duktape.h
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/duktape/duktape.h	Sat Feb 04 19:12:38 2017 +0100
+++ b/duktape/duktape.h	Fri Feb 10 16:08:06 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 */
 
 /*