[PATCH spice-common] codegen: Removed unused get_type methods

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

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 python_modules/ptypes.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
index d29c97a..209c00e 100644
--- a/python_modules/ptypes.py
+++ b/python_modules/ptypes.py
@@ -145,9 +145,6 @@ class Type:
     def has_name(self):
         return self.name != None
 
-    def get_type(self, recursive=False):
-        return self
-
     def is_primitive(self):
         return False
 
@@ -256,12 +253,6 @@ class TypeAlias(Type):
         self.the_type = the_type
         self.attributes = fix_attributes(attribute_list)
 
-    def get_type(self, recursive=False):
-        if recursive:
-            return self.the_type.get_type(True)
-        else:
-            return self.the_type
-
     def primitive_type(self):
         return self.the_type.primitive_type()
 
-- 
2.17.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]