[gjs/wip/ptomato/mozjs45: 22/30] importer: API change in enumerate operation
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs45: 22/30] importer: API change in enumerate operation
- Date: Wed, 3 May 2017 06:40:04 +0000 (UTC)
commit baea28133dcc7009f464f21b6c6effdf82621376
Author: Philip Chimento <philip chimento gmail com>
Date: Sun Mar 19 05:16:40 2017 +0000
importer: API change in enumerate operation
Now an enumerate operation distinguishes between whether only the
enumerable properties should be enumerated, or all of them, by passing in
a boolean parameter. In the case of the importer object, we don't care,
so we ignore the parameter.
gjs/importer.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gjs/importer.cpp b/gjs/importer.cpp
index a6c29bc..dd77cd1 100644
--- a/gjs/importer.cpp
+++ b/gjs/importer.cpp
@@ -686,7 +686,8 @@ do_import(JSContext *context,
static bool
importer_enumerate(JSContext *context,
JS::HandleObject object,
- JS::AutoIdVector& properties)
+ JS::AutoIdVector& properties,
+ bool enumerable_only)
{
Importer *priv;
guint32 search_path_len;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]