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

Support native pointer type #15

Open
emesare opened this issue Dec 24, 2022 · 0 comments
Open

Support native pointer type #15

emesare opened this issue Dec 24, 2022 · 0 comments

Comments

@emesare
Copy link
Member

emesare commented Dec 24, 2022

Currently POINTER class types (see ctypes doc) are not supported. To allow these to be supported we need the following:

  • A way to specify the "default" pointer width within the code (think: set_native_pointer_size(8)), this is very important as existing ctypes structures do not account for any specific pointer width and instead the pointer width of the system in which it is running in.
  • Accessible address value (see notice in py_from_bytes)
    todo!("Need to store address in an attribute to access later")
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