[gjs/wip/js24] modules: JS_BufferIsCompilableUnit. removed utf8 argument
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/js24] modules: JS_BufferIsCompilableUnit. removed utf8 argument
- Date: Wed, 2 Oct 2013 21:05:18 +0000 (UTC)
commit d848b6832c971cfd00b01e9f70b1e50132736def
Author: Tim Lunn <tim feathertop org>
Date: Sat Sep 28 15:10:54 2013 +1000
modules: JS_BufferIsCompilableUnit. removed utf8 argument
modules/console.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/console.cpp b/modules/console.cpp
index a1805b3..35add3f 100644
--- a/modules/console.cpp
+++ b/modules/console.cpp
@@ -190,7 +190,7 @@ gjs_console_interact(JSContext *context,
g_string_append(buffer, temp_buf);
g_free(temp_buf);
lineno++;
- } while (!JS_BufferIsCompilableUnit(context, JS_TRUE, object, buffer->str, buffer->len));
+ } while (!JS_BufferIsCompilableUnit(context, 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]