[FR] update old APIs to use type-backed enums
- Dominant language
- No language data
- Stars
- 2.3k
- Forks
- 310
- PR merge metrics
- No merged PRs in 30d
Description
### Description
We've been doing this for new APIs, but we should go through all the old APIs and make sure that enums have backing types and are used explicitly in function decls.
Aside from improving IDE behavior and ABI checking, this helps languages like Rust: https://github.com/android/ndk/issues/1739#issuecomment-1199911248
Contributor guide
Research direction
The issue covers old NDK APIs, enum declarations, and function declarations, but names no files, entry points, or tests. Start by locating legacy API declarations and comparing them with newer type-backed APIs; completion means all applicable old API enums have backing types and are used explicitly in function declarations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- api, mobile-dev
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100