code: def cf_array_from_list(values):
          
  
          length = len(values)
          values = (CFTypeRef * length)(*values)
          return CoreFoundation.CFArrayCreate(
              CoreFoundation.kCFAllocatorDefault,
              _cast_pointer_p(byref(values)),
              length,
              kCFTypeArrayCallBacks
          )
docs: Creates a CFArrayRef object from a list of CF* type objects.
  
          :param values:
              A list of CF* type object
  
          :return:
              A CFArrayRef