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

Userdata rework #121

Merged
merged 2 commits into from
Jan 4, 2017
Merged

Userdata rework #121

merged 2 commits into from
Jan 4, 2017

Conversation

tomaka
Copy link
Owner

@tomaka tomaka commented Jan 3, 2017

Fix #115

The code is now much cleaner, and the type id is now stored directly in memory as described in #115

Not everything has been reworked though.
Eventually read_userdata should be split between read_userdata and read_mut_userdata and implement for any L that implements AsLua or AsMutLua. Same for the implement_lua_read! macro that could finally become safe.
Unfortunately this is blocked on #118.

@tomaka tomaka merged commit f372729 into master Jan 4, 2017
@tomaka tomaka deleted the userdata-rework branch January 4, 2017 06:23
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

Successfully merging this pull request may close these issues.

1 participant