Title: [235592] releases/WebKitGTK/webkit-2.22/Source/_javascript_Core
Revision
235592
Author
[email protected]
Date
2018-09-03 01:29:23 -0700 (Mon, 03 Sep 2018)

Log Message

Merge r235373 - [GTK][JSC] Add warn_unused_result attribute to some APIs
https://bugs.webkit.org/show_bug.cgi?id=188983

Patch by Patrick Griffis <[email protected]> on 2018-08-27
Reviewed by Michael Catanzaro.

* API/glib/JSCValue.h:

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/API/glib/JSCValue.h (235591 => 235592)


--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/API/glib/JSCValue.h	2018-09-03 08:29:16 UTC (rev 235591)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/API/glib/JSCValue.h	2018-09-03 08:29:23 UTC (rev 235592)
@@ -182,13 +182,13 @@
 jsc_value_object_invoke_method            (JSCValue             *value,
                                            const char           *name,
                                            GType                 first_parameter_type,
-                                           ...);
+                                           ...) G_GNUC_WARN_UNUSED_RESULT;
 
 JSC_API JSCValue *
 jsc_value_object_invoke_methodv           (JSCValue             *value,
                                            const char           *name,
                                            guint                 n_parameters,
-                                           JSCValue            **parameters);
+                                           JSCValue            **parameters) G_GNUC_WARN_UNUSED_RESULT;
 
 JSC_API void
 jsc_value_object_define_property_data     (JSCValue             *value,
@@ -240,12 +240,12 @@
 JSC_API JSCValue *
 jsc_value_function_call                   (JSCValue             *value,
                                            GType                 first_parameter_type,
-                                           ...);
+                                           ...) G_GNUC_WARN_UNUSED_RESULT;
 
 JSC_API JSCValue *
 jsc_value_function_callv                  (JSCValue             *value,
                                            guint                 n_parameters,
-                                           JSCValue            **parameters);
+                                           JSCValue            **parameters) G_GNUC_WARN_UNUSED_RESULT;
 
 JSC_API gboolean
 jsc_value_is_constructor                  (JSCValue             *value);

Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog (235591 => 235592)


--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog	2018-09-03 08:29:16 UTC (rev 235591)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog	2018-09-03 08:29:23 UTC (rev 235592)
@@ -1,3 +1,12 @@
+2018-08-27  Patrick Griffis  <[email protected]>
+
+        [GTK][JSC] Add warn_unused_result attribute to some APIs
+        https://bugs.webkit.org/show_bug.cgi?id=188983
+
+        Reviewed by Michael Catanzaro.
+
+        * API/glib/JSCValue.h:
+
 2018-08-20  Yusuke Suzuki  <[email protected]>
 
         [JSC] HeapUtil should care about pointer overflow
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to