ponylang / ponyc

Pony is an open-source, actor-model, capabilities-secure, high performance programming language
http://www.ponylang.io
BSD 2-Clause "Simplified" License
5.72k stars 415 forks source link

Make actor pad automagically calculated #4528

Closed dipinhora closed 1 month ago

dipinhora commented 1 month ago

Prior to this commit, we had to manually update the actor pad size if the size of pony_actor_t changed.

This commit makes it so that the actor pad size is now automagically calculated by the compiler so it doesn't have to be manually maintained any longer.

dipinhora commented 1 month ago

added the warning