Bug 433964 - dtrace build fixes for C++ linkage, r=jorendorff
authorbcrowder@mozilla.com
Mon, 19 May 2008 12:59:09 -0700
changeset 15140 81e0ee32327a7713b3a4c8bd59ba535dc9d944ff
parent 15139 979660ed509409e2787297780a5f5d46957e12c2
child 15141 a9a074d14cb2c883ef1f27c10003ad7a6c220624
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs433964
milestone1.9.1a1pre
Bug 433964 - dtrace build fixes for C++ linkage, r=jorendorff
js/src/jsdtracef.h
--- a/js/src/jsdtracef.h
+++ b/js/src/jsdtracef.h
@@ -35,16 +35,18 @@
 
 #include "javascript-trace.h"
 #include "jspubtd.h"
 #include "jsprvtd.h"
 
 #ifndef _JSDTRACEF_H
 #define _JSDTRACEF_H
 
+JS_BEGIN_EXTERN_C
+
 extern void
 jsdtrace_function_entry(JSContext *cx, JSStackFrame *fp, JSFunction *fun);
 
 extern void
 jsdtrace_function_info(JSContext *cx, JSStackFrame *fp, JSStackFrame *dfp,
                        JSFunction *fun);
 
 extern void
@@ -69,9 +71,11 @@ extern void
 jsdtrace_object_finalize(JSObject *obj);
 
 extern void
 jsdtrace_execute_start(JSScript *script);
 
 extern void
 jsdtrace_execute_done(JSScript *script);
 
+JS_END_EXTERN_C
+
 #endif /* _JSDTRACE_H */