Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
d-feet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
d-feet
Commits
a0dc5b27
Commit
a0dc5b27
authored
Jan 08, 2008
by
John (J5) Palmieri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add the rest of the basic types
* Patch by Marcel Holtmann <marcel at holtmann dot org>
parent
23ef7b6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
dfeet/dbus_utils.py
dfeet/dbus_utils.py
+11
-1
No files found.
dfeet/dbus_utils.py
View file @
a0dc5b27
...
...
@@ -67,10 +67,18 @@ def convert_complex_type(subsig):
def
convert_simple_type
(
c
):
result
=
None
if
c
==
'i'
:
if
c
==
'n'
:
result
=
'Int16'
elif
c
==
'q'
:
result
=
'UInt16'
elif
c
==
'i'
:
result
=
'Int32'
elif
c
==
'u'
:
result
=
'UInt32'
elif
c
==
'x'
:
result
=
'Int64'
elif
c
==
't'
:
result
=
'UInt64'
elif
c
==
's'
:
result
=
'String'
elif
c
==
'b'
:
...
...
@@ -79,6 +87,8 @@ def convert_simple_type(c):
result
=
'Byte'
elif
c
==
'o'
:
result
=
'Object Path'
elif
c
==
'g'
:
result
=
'Signature'
elif
c
==
'd'
:
result
=
'Double'
elif
c
==
'v'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment