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

RSTRUCT, RSTRUCT_PTR, RSTRUCT_LEN missing from C API #494

Closed
nocode opened this issue Sep 25, 2010 · 1 comment
Closed

RSTRUCT, RSTRUCT_PTR, RSTRUCT_LEN missing from C API #494

nocode opened this issue Sep 25, 2010 · 1 comment

Comments

@nocode
Copy link

nocode commented Sep 25, 2010

Ruby 1.8.x had all three. Ruby 1.9.x only recommends
RSTRUCT_LEN and RSTRUCT_PTR.

I can easily work around the issue for my code right now, but maybe
it affects other people, too.

@evanphx
Copy link
Member

evanphx commented Sep 25, 2010

Rubinius will not be supporting these. They expose extremely internal memory structures about Struct that Rubinius doesn't use in any way. rb_struct_aref and rb_struct_aset can be used as replacements.

This issue was closed.
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