Skip to content

Commit

Permalink
Add warning comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinhora committed Oct 15, 2024
1 parent 6ba826b commit aba3f4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libponyrt/actor/actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ typedef struct pony_actor_t
actorstats_t actorstats; // 64/128 bytes
#endif
gc_t gc; // 48/88 bytes
// if you add more members here, you need to update the PONY_ACTOR_PAD_SIZE
// calculation below and the pony_static_assert at the top of actor.c, to
// reference the final member, its offset, and size
} pony_actor_t;

/** Padding for actor types.
Expand Down

0 comments on commit aba3f4b

Please sign in to comment.