[gjs/gnome-3-26] jsapi-util-args: Update out-of-date comments



commit d9c4bd48fa455a75a1c7b991aee7d3f12b00b68a
Author: Philip Chimento <philip chimento gmail com>
Date:   Mon Sep 11 11:19:09 2017 -0700

    jsapi-util-args: Update out-of-date comments

 gjs/jsapi-util-args.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gjs/jsapi-util-args.h b/gjs/jsapi-util-args.h
index 520ac8f..76003d7 100644
--- a/gjs/jsapi-util-args.h
+++ b/gjs/jsapi-util-args.h
@@ -352,9 +352,9 @@ gjs_parse_call_args(JSContext    *cx,
  * value location pairs.  The currently accepted format specifiers are:
  *
  * b: A boolean (pass a bool *)
- * s: A string, converted into UTF-8 (pass a char **)
+ * s: A string, converted into UTF-8 (pass a GjsAutoJSChar *)
  * F: A string, converted into "filename encoding" (i.e. active locale) (pass
- *   a char **)
+ *   a GjsAutoChar *)
  * i: A number, will be converted to a 32-bit int (pass an int32_t * or a
  *   pointer to an enum type)
  * u: A number, converted into a 32-bit unsigned int (pass a uint32_t *)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]