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 for structs/records in buffers #613

Closed
robertwb opened this issue Aug 22, 2008 · 7 comments
Closed

Support for structs/records in buffers #613

robertwb opened this issue Aug 22, 2008 · 7 comments

Comments

@robertwb
Copy link
Contributor

Currently only integers, floats and objects are supported in buffers; structs and complex numbers should be supported to.

Complex numbers will be treated as structs containing exactly two floats for now.

Migrated from http://trac.cython.org/ticket/56

@robertwb
Copy link
Contributor Author

@dagss changed keywords from buffer struct to buffer struct numerics
commented

@robertwb
Copy link
Contributor Author

robertwb commented Sep 4, 2008

@dagss changed priority from minor to major
commented

@robertwb
Copy link
Contributor Author

robertwb commented Sep 5, 2008

@dagss commented

I have a lot of code for this now -- however the current strategy for getting around a missing result_code refactor is failing. I either need to move all my temps in IndexNode used for buffer access up to allocation in type analysis phase, or finally do the result_code refactor.

@robertwb
Copy link
Contributor Author

robertwb commented Sep 5, 2008

@dagss changed status from new to assigned
commented

@robertwb
Copy link
Contributor Author

robertwb commented Oct 6, 2008

@dagss commented

Non-nested struct support as of:

http://hg.cython.org/cython-devel/rev/da30eeb06679

@robertwb
Copy link
Contributor Author

robertwb commented Oct 6, 2008

@dagss commented

Note that numpy.pxd must still be updated for record structs to work though...

@robertwb
Copy link
Contributor Author

@dagss changed resolution to fixed
status from assigned to closed
commented

http://hg.cython.org/cython-devel/rev/5de00fce9b73

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

No branches or pull requests

1 participant