Skip to content

Commit

Permalink
api: initialize closure pointer with null instead of zero
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Aug 30, 2024
1 parent 40c7f5a commit 5837aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/fn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ namespace jule
};
#endif

static jule::U8 *__closure_ptr = 0;
static jule::U8 *__closure_ptr = nullptr;
static jule::Int __closure_cap = 0;

static void *(*__closure_get_ctx)(void) = nullptr;
Expand Down

0 comments on commit 5837aae

Please sign in to comment.