Skip to content

Commit

Permalink
api: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Aug 31, 2024
1 parent c37d8c7 commit e736278
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/fn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
#define __JULE_CO(EXPR) \
(__JULE_CO_SPAWN([=](void) mutable -> void { EXPR; }).detach())

#define __JULE_ASSUMED_PAGE_SIZE 0x4000
#define __JULE_CLOSURE_SIZE (((sizeof(void *) << 1 > sizeof(jule::__closure_thunk) ? sizeof(void *) << 1 : sizeof(jule::__closure_thunk)) + sizeof(void *) - 1) & ~(sizeof(void *) - 1))

#define __JULE_CLOSURE_PAGE_PTR(closure) \
((void **)(closure - __JULE_ASSUMED_PAGE_SIZE))

namespace jule
{
// Anonymous function / closure wrapper of JuleC.
Expand Down

0 comments on commit e736278

Please sign in to comment.