[gjs/wip/js24] profiler: fix callback definitions



commit 0e140f708fea603d36192545a04d45af995bfda0
Author: Tim Lunn <tim feathertop org>
Date:   Sat Sep 28 16:02:46 2013 +1000

    profiler: fix callback definitions

 gjs/profiler.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gjs/profiler.cpp b/gjs/profiler.cpp
index fe77a8c..03edf98 100644
--- a/gjs/profiler.cpp
+++ b/gjs/profiler.cpp
@@ -276,6 +276,7 @@ gjs_profiler_log_call(GjsProfiler  *self,
 static void *
 gjs_profiler_execute_hook(JSContext    *cx,
                           JSAbstractFramePtr frame,
+                          bool        isConstructing,
                           JSBool        before,
                           JSBool       *ok,
                           void         *callerdata)
@@ -290,6 +291,7 @@ gjs_profiler_execute_hook(JSContext    *cx,
 static void *
 gjs_profiler_call_hook(JSContext    *cx,
                        JSAbstractFramePtr frame,
+                       bool        isConstructing,
                        JSBool        before,
                        JSBool       *ok,
                        void         *callerdata)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]