Skip to content
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

uctypes module TODO #14

Closed
11 tasks done
pfalcon opened this issue Sep 2, 2018 · 0 comments
Closed
11 tasks done

uctypes module TODO #14

pfalcon opened this issue Sep 2, 2018 · 0 comments

Comments

@pfalcon
Copy link
Owner

pfalcon commented Sep 2, 2018

  • Allow to convert PTR object to int
  • Allow to assign to PTR field - either int or another
  • Allow to pass PTR object properly to FFI functions - address held in PTR should be passed, not address of PTR field itself
  • Support of automatic field offset calculation - uctypes.calc_offsets(desc)
  • Add support for unions with .calc_offsets()
  • Add native C types: SHORT, INT, LONG, LONGLONG, unsigned variants (should alias to exact-sized types).
  • Add end-to-end usage example to docs
  • Update docs for changes above
  • Add uctypes_helper uctypeslib module to micropython-lib with convenience functions to create fields.
  • Add uctypeslib uctypeslib2 module to micropython-lib with any other functionality, starting with dumping of descriptors in readable form.
  • Implement OrderedDict literal in the core.
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

No branches or pull requests

1 participant