-
-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some small cleanups #4331
Some small cleanups #4331
Conversation
this matches lists and hashmaps
Although def->permissions is only NULL on non-actor behaviors and type alias functions, And thus they should never get here, we should assert before we null deref
Instead cast at each use with the new type.
with the other HASHMAP functions by taking a name_t, not a general hashmap_t
Please break these into logical commits with a PR for each. If these ever come up in history as "why was this changed", bunching them altogether will be detrimental to understanding. Additionally, it's not guaranteed that we will want to accept each of these changes. |
Some of the changes I'm good with, others I'm not. |
Ok, I'll make a PR for each commit, they are all mutually separable. |
Thanks @Dante-Broggi. I'm closing this PR. |
I should actually PR the cleanup and improvements I find.