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

[Libguestfs] [PATCH 05/16] gobject: Include explicit types for all parameters



---
 generator/generator_gobject.ml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml
index 7bac45e..c31f6d8 100644
--- a/generator/generator_gobject.ml
+++ b/generator/generator_gobject.ml
@@ -645,7 +645,12 @@ let generate_gobject_c_methods () =
         fun argt ->
           pr " * @%s:" (name_of_argt argt);
           (match argt with
-          | Bool _ | Int _ | Int64 _ -> ()
+          | Bool _ ->
+            pr " (type gboolean):"
+          | Int _ ->
+            pr " (type gint32):"
+          | Int64 _ ->
+            pr " (type gint64):"
           | String _ | Key _ ->
             pr " (transfer none) (type utf8):"
           | OptString _ ->
-- 
1.7.7.6


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