summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/qntan/Qntan.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h
index 0b8a4c9..71c6a37 100644
--- a/include/qntan/Qntan.h
+++ b/include/qntan/Qntan.h
@@ -446,6 +446,9 @@ struct Qntan_File {
+#ifndef Qntan_Executor_enque
+# define Qntan_Executor_enque(A, ...) (*A)->enque(A, __VA_ARGS__)
+#endif
struct Qntan_FileSystem {
/* VFS (VirtualFileSystem)
@@ -476,9 +479,9 @@ struct Qntan_FileSystem {
// void(*onDone)(int, Qntan_Cls), Qntan_Cls);
// /* TODO There's a duplicate in 'File' of this function.
// */
-// void (*rename)( struct Qntan_FileSystem**, char const*from, char const*to,
-// void(*onDone)(int, Qntan_Cls), Qntan_Cls);
-// /**/
+ void (*rename)( struct Qntan_FileSystem**, char const*src, char const*dst,
+ void(*onDone)(int, Qntan_Cls), Qntan_Cls);
+ /**/
// void (*chmod)( struct Qntan_FileSystem**, char const*path, mode_t,
// void(*onDone)(int, Qntan_Cls), Qntan_Cls);
// /**/