Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-09-13 17:00:26 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-09-13 17:00:26 +0300
commit17ada3fb9c18873e438bad66e5bce5efc415d4ff (patch)
tree6a352128b37bd11f8d6b337d210e673119fbcca9 /scripts
parent138a4cebf654500e8ac6595384f7de831777ad97 (diff)
Reworked Coroutines TS support so i/o is initiated immediately, not on co_await.
Refreshed the free functions.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make_free_functions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/make_free_functions.py b/scripts/make_free_functions.py
index 68126468..9cb1f38a 100644
--- a/scripts/make_free_functions.py
+++ b/scripts/make_free_functions.py
@@ -76,11 +76,13 @@ for header in glob.glob("../include/afio/*/*.hpp"):
function = replace(function, 'size_type')
function = replace(function, 'buffers_type')
function = replace(function, 'const_buffers_type')
+ function = replace(function, 'enumerate_info')
function = function.replace('path_view_type()', classname+'::path_view_type()')
function = function.replace(' io_result<', ' '+classname+'::io_result<')
function = function.replace(' io_request<', ' '+classname+'::io_request<')
function = function.replace('(io_request<', '('+classname+'::io_request<')
function = function.replace('<io_state_ptr<', '<'+classname+'::io_state_ptr<')
+ function = function.replace('<awaitable<', '<'+classname+'::awaitable<')
function = function.replace(' mode ', ' '+classname+'::mode ')
function = function.replace(' mode::', ' '+classname+'::mode::')
function = function.replace(' creation ', ' '+classname+'::creation ')
@@ -89,6 +91,8 @@ for header in glob.glob("../include/afio/*/*.hpp"):
function = function.replace(' caching::', ' '+classname+'::caching::')
function = function.replace(' flag ', ' '+classname+'::flag ')
function = function.replace(' flag::', ' '+classname+'::flag::')
+ function = function.replace(' filter ', ' '+classname+'::filter ')
+ function = function.replace(' filter::', ' '+classname+'::filter::')
if function[-2] == ';':
function=function[:-2]
elif '}' in function: