Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
typon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
cython-plus
typon
Commits
1e6161c9
Commit
1e6161c9
authored
May 09, 2022
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove nested namespace typon::core
parent
f72c7dbc
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
27 deletions
+9
-27
rt/include/typon/core/continuation.hpp
rt/include/typon/core/continuation.hpp
+1
-1
rt/include/typon/core/fork.hpp
rt/include/typon/core/fork.hpp
+1
-1
rt/include/typon/core/future.hpp
rt/include/typon/core/future.hpp
+1
-1
rt/include/typon/core/join.hpp
rt/include/typon/core/join.hpp
+1
-1
rt/include/typon/core/result.hpp
rt/include/typon/core/result.hpp
+1
-1
rt/include/typon/core/root.hpp
rt/include/typon/core/root.hpp
+1
-1
rt/include/typon/core/scheduler.hpp
rt/include/typon/core/scheduler.hpp
+1
-1
rt/include/typon/core/task.hpp
rt/include/typon/core/task.hpp
+1
-1
rt/include/typon/typon.hpp
rt/include/typon/typon.hpp
+1
-19
No files found.
rt/include/typon/core/continuation.hpp
View file @
1e6161c9
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#include <limits>
#include <limits>
namespace
typon
::
core
namespace
typon
{
{
struct
coroutine_node
struct
coroutine_node
...
...
rt/include/typon/core/fork.hpp
View file @
1e6161c9
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#include <typon/core/scheduler.hpp>
#include <typon/core/scheduler.hpp>
namespace
typon
::
core
namespace
typon
{
{
template
<
typename
T
=
void
>
template
<
typename
T
=
void
>
...
...
rt/include/typon/core/future.hpp
View file @
1e6161c9
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
#include <typon/core/result.hpp>
#include <typon/core/result.hpp>
namespace
typon
::
core
namespace
typon
{
{
template
<
typename
Promise
>
template
<
typename
Promise
>
...
...
rt/include/typon/core/join.hpp
View file @
1e6161c9
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#include <typon/core/result.hpp>
#include <typon/core/result.hpp>
namespace
typon
::
core
namespace
typon
{
{
struct
[[
nodiscard
]]
Sync
{};
struct
[[
nodiscard
]]
Sync
{};
...
...
rt/include/typon/core/result.hpp
View file @
1e6161c9
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#include <utility>
#include <utility>
namespace
typon
::
core
namespace
typon
{
{
template
<
typename
T
>
template
<
typename
T
>
...
...
rt/include/typon/core/root.hpp
View file @
1e6161c9
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
#include <typon/core/scheduler.hpp>
#include <typon/core/scheduler.hpp>
namespace
typon
::
core
namespace
typon
{
{
struct
[[
nodiscard
]]
Root
struct
[[
nodiscard
]]
Root
...
...
rt/include/typon/core/scheduler.hpp
View file @
1e6161c9
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
#include <typon/core/continuation.hpp>
#include <typon/core/continuation.hpp>
namespace
typon
::
core
namespace
typon
{
{
struct
Scheduler
struct
Scheduler
...
...
rt/include/typon/core/task.hpp
View file @
1e6161c9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#include <typon/core/result.hpp>
#include <typon/core/result.hpp>
namespace
typon
::
core
namespace
typon
{
{
template
<
typename
T
=
void
>
template
<
typename
T
=
void
>
...
...
rt/include/typon/typon.hpp
View file @
1e6161c9
...
@@ -13,26 +13,8 @@
...
@@ -13,26 +13,8 @@
namespace
typon
namespace
typon
{
{
template
<
typename
T
>
using
Future
=
core
::
Future
<
T
>
;
template
<
typename
T
>
using
Join
=
core
::
Join
<
T
>
;
using
Root
=
core
::
Root
;
using
Sync
=
core
::
Sync
;
template
<
typename
T
>
using
Task
=
core
::
Task
<
T
>
;
template
<
typename
Task
>
template
<
typename
Task
>
core
::
Fork
<
typename
Task
::
promise_type
::
value_type
>
fork
(
Task
task
)
Fork
<
typename
Task
::
promise_type
::
value_type
>
fork
(
Task
task
)
{
{
co_return
co_await
std
::
move
(
task
);
co_return
co_await
std
::
move
(
task
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment