From c7f4768e404d58e02412474b4ebfbbe27424f0b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C5=8Dshin?= Date: Sun, 26 Dec 2021 07:08:05 +0000 Subject: [PATCH] vere: reorder u3v functions --- pkg/urbit/include/noun/vortex.h | 10 +++++----- pkg/urbit/noun/vortex.c | 18 +++++++++--------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pkg/urbit/include/noun/vortex.h b/pkg/urbit/include/noun/vortex.h index 1cd6b84f6e..3e8f014840 100644 --- a/pkg/urbit/include/noun/vortex.h +++ b/pkg/urbit/include/noun/vortex.h @@ -67,16 +67,16 @@ void u3v_time(u3_noun now); - /* u3v_peek(): query the reck namespace. - */ - u3_noun - u3v_peek(u3_noun hap); - /* u3v_lily(): parse little atom. */ c3_o u3v_lily(u3_noun fot, u3_noun txt, c3_l* tid_l); + /* u3v_peek(): query the reck namespace. + */ + u3_noun + u3v_peek(u3_noun hap); + /* u3v_poke(): insert and apply an input ovum (protected). */ u3_noun diff --git a/pkg/urbit/noun/vortex.c b/pkg/urbit/noun/vortex.c index 51c9c22c07..8d51760325 100644 --- a/pkg/urbit/noun/vortex.c +++ b/pkg/urbit/noun/vortex.c @@ -184,15 +184,6 @@ _cv_time_bump(u3_reck* rec_u) } #endif -/* u3v_peek(): query the reck namespace (protected). -*/ -u3_noun -u3v_peek(u3_noun sam) -{ - u3_noun fun = u3n_nock_on(u3k(u3A->roc), u3k(u3x_at(_CVX_PEEK, u3A->roc))); - return u3n_slam_on(fun, sam); -} - /* u3v_lily(): parse little atom. */ c3_o @@ -216,6 +207,15 @@ u3v_lily(u3_noun fot, u3_noun txt, c3_l* tid_l) } } +/* u3v_peek(): query the reck namespace (protected). +*/ +u3_noun +u3v_peek(u3_noun sam) +{ + u3_noun fun = u3n_nock_on(u3k(u3A->roc), u3k(u3x_at(_CVX_PEEK, u3A->roc))); + return u3n_slam_on(fun, sam); +} + /* u3v_poke(): insert and apply an input ovum (protected). */ u3_noun