[d-feet/wjt/handle-unix-fd-type: 3/3] dbus_utils: stringify "h" (UNIX FD)



commit 02db955298835bb7a9904f70490d3f49cc506f8a
Author: Will Thompson <will willthompson co uk>
Date:   Thu Oct 18 15:29:37 2018 +0100

    dbus_utils: stringify "h" (UNIX FD)
    
    This was added to D-Bus almost a decade ago. Without this change it
    shows up as 'Error(h)' in method signatures.
    
    (This doesn't mean we support passing them as in-parameters.)

 src/dfeet/dbus_utils.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/dfeet/dbus_utils.py b/src/dfeet/dbus_utils.py
index 51c9069..71f052b 100644
--- a/src/dfeet/dbus_utils.py
+++ b/src/dfeet/dbus_utils.py
@@ -16,6 +16,7 @@ SIMPLE_TYPE_NAMES = {
     'g': 'Signature',
     'd': 'Double',
     'v': 'Variant',
+    'h': 'File Descriptor',
 }
 
 


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