summaryrefslogtreecommitdiff
path: root/include/qntan/Qntan.h
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2026-02-01 00:30:55 +0100
committerAndreas Fankhauser hiddenalpha.ch2026-02-01 00:30:55 +0100
commit3492638c4d7f82bbe81fdf68bbb4b6366d972954 (patch)
tree091a0649dc84128d1e7345637f61fc7c2c9ef2bc /include/qntan/Qntan.h
parent02292c24dc085e7b5bfbb44d30f3abd788851146 (diff)
downloadQntan-3492638c4d7f82bbe81fdf68bbb4b6366d972954.tar.gz
Qntan-3492638c4d7f82bbe81fdf68bbb4b6366d972954.zip
Add `Qntan_FileSystem_mkdir()` macro
Diffstat (limited to 'include/qntan/Qntan.h')
-rw-r--r--include/qntan/Qntan.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h
index 2030582..b54b73a 100644
--- a/include/qntan/Qntan.h
+++ b/include/qntan/Qntan.h
@@ -489,6 +489,9 @@ struct Qntan_File {
+#ifndef Qntan_FileSystem_mkdir
+# define Qntan_FileSystem_mkdir(A, ...) (*A)->mkdir(A, __VA_ARGS__)
+#endif
#ifndef Qntan_FileSystem_rename
# define Qntan_FileSystem_rename(A, ...) (*A)->rename(A, __VA_ARGS__)
#endif