This commit is contained in:
Kovid Goyal 2012-12-18 15:47:24 +05:30
parent 5d9e9e4abf
commit 9976b7e980

View File

@ -430,7 +430,7 @@ end:
return values; return values;
} // }}} } // }}}
static bool get_files_and_folders(unsigned int level, IPortableDevice *device, IPortableDeviceContent *content, IPortableDevicePropertiesBulk *bulk_properties, const wchar_t *parent_id, PyObject *callback, PyObject *ans) { static bool get_files_and_folders(unsigned int level, IPortableDevice *device, IPortableDeviceContent *content, IPortableDevicePropertiesBulk *bulk_properties, const wchar_t *parent_id, PyObject *callback, PyObject *ans) { // {{{
bool ok = true; bool ok = true;
IPortableDevicePropVariantCollection *object_ids = NULL; IPortableDevicePropVariantCollection *object_ids = NULL;
PyObject *subfolders = NULL; PyObject *subfolders = NULL;
@ -462,7 +462,7 @@ end:
if (object_ids != NULL) object_ids->Release(); if (object_ids != NULL) object_ids->Release();
Py_XDECREF(subfolders); Py_XDECREF(subfolders);
return ok; return ok;
} } // }}}
PyObject* wpd::get_filesystem(IPortableDevice *device, const wchar_t *storage_id, IPortableDevicePropertiesBulk *bulk_properties, PyObject *callback) { // {{{ PyObject* wpd::get_filesystem(IPortableDevice *device, const wchar_t *storage_id, IPortableDevicePropertiesBulk *bulk_properties, PyObject *callback) { // {{{
PyObject *ans = NULL; PyObject *ans = NULL;