[gjs/wip/js24: 20/29] modules: JS_BufferIsCompilableUnit. removed utf8 argument



commit bd067bd6bded4efedccf6e54824a9025340e8be2
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 1424b68..549c492 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]