[gjs/wip/mozjs-188: 1/10] JS_BufferIsCompilableUnit API change
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/mozjs-188: 1/10] JS_BufferIsCompilableUnit API change
- Date: Wed, 23 Jan 2013 21:54:11 +0000 (UTC)
commit 4f4baf12d5193189ca368c4fd192f74f6df47a13
Author: Tim Lunn <tim feathertop org>
Date: Thu Jan 3 12:59:54 2013 +1100
JS_BufferIsCompilableUnit API change
https://bugzilla.gnome.org/show_bug.cgi?id=690982
modules/console.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/console.c b/modules/console.c
index 71a95b4..a7e204e 100644
--- a/modules/console.c
+++ b/modules/console.c
@@ -190,7 +190,7 @@ gjs_console_interact(JSContext *context,
g_string_append(buffer, temp_buf);
g_free(temp_buf);
lineno++;
- } while (!JS_BufferIsCompilableUnit(context, object, buffer->str, buffer->len));
+ } while (!JS_BufferIsCompilableUnit(context, JS_TRUE, object, buffer->str, buffer->len));
JS_EvaluateScript(context, object, buffer->str, buffer->len, "typein",
startline, &result);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]