mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5d9e9e4abf
commit
9976b7e980
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user