Skip to content

Comments

proper casting to mp_obj_type#43

Open
scgbckbone wants to merge 1 commit intoswitck:masterfrom
scgbckbone:proper_casting
Open

proper casting to mp_obj_type#43
scgbckbone wants to merge 1 commit intoswitck:masterfrom
scgbckbone:proper_casting

Conversation

@scgbckbone
Copy link
Contributor

  • even if it works on current platform(s), it’s fragile and non-portable.
  • using uintptr_t (cast is part of the macro) ensures safe casting across platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant