Add doc-string to ctypes_adaptor.transform function