Skip to content

Commit 332af45

Browse files
committed
fix crash
1 parent 7344a66 commit 332af45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Runtime/Unity.NodeApi.Native.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ typedef void *(* GC_fn_type)(void *);
1515
extern "C" void *GC_call_with_alloc_lock(GC_fn_type fn, void *client_data);
1616

1717
typedef struct uv_loop_s { void* data; } uv_loop_t;
18-
typedef struct uv_idle_s { void* data; uv_loop_t* loop; } uv_idle_t;
18+
typedef struct uv_idle_s { void* data; uv_loop_t* loop; void* reserved[14]; } uv_idle_t;
1919
typedef void (*uv_idle_cb)(uv_idle_t* handle);
2020
static int (*uv_idle_init)(uv_loop_t*, uv_idle_t* idle);
2121
static int (*uv_idle_start)(uv_idle_t* idle, uv_idle_cb cb);

0 commit comments

Comments
 (0)