diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-09-13 17:00:26 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2017-09-13 17:00:26 +0300 |
commit | 17ada3fb9c18873e438bad66e5bce5efc415d4ff (patch) | |
tree | 6a352128b37bd11f8d6b337d210e673119fbcca9 /scripts | |
parent | 138a4cebf654500e8ac6595384f7de831777ad97 (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.py | 4 |
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: |