@@ -2593,6 +2593,17 @@ def get_canonical(self):
25932593 """
25942594 return Type .from_result (conf .lib .clang_getCanonicalType (self ), (self ,))
25952595
2596+ def get_fully_qualified_name (self , policy , with_global_ns_prefix = False ):
2597+ """
2598+ Get the fully qualified name for a type.
2599+
2600+ This includes full qualification of all template parameters.
2601+
2602+ policy - This PrintingPolicy can further refine the type formatting
2603+ with_global_ns_prefix - If true, function will prepend a '::' to qualified names
2604+ """
2605+ return _CXString .from_result (conf .lib .clang_getFullyQualifiedName (self , policy , with_global_ns_prefix ))
2606+
25962607 def is_const_qualified (self ):
25972608 """Determine whether a Type has the "const" qualifier set.
25982609
@@ -4022,6 +4033,7 @@ def set_property(self, property, value):
40224033 ("clang_getTypeSpelling" , [Type ], _CXString ),
40234034 ("clang_hashCursor" , [Cursor ], c_uint ),
40244035 ("clang_isAttribute" , [CursorKind ], bool ),
4036+ ("clang_getFullyQualifiedName" , [Type , PrintingPolicy , c_uint ], _CXString ),
40254037 ("clang_isConstQualifiedType" , [Type ], bool ),
40264038 ("clang_isCursorDefinition" , [Cursor ], bool ),
40274039 ("clang_isDeclaration" , [CursorKind ], bool ),
0 commit comments