[gjs/wip/ptomato/develop: 8/18] jsapi-util-args: Update out-of-date comments



commit 1af6f40ced7886738d75e59a011f1b7e97c61504
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 files 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]