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

structs and classes implemented more completely #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TurkeyMan
Copy link
Contributor

Structs are handled by-ref in Lua code to match handling of regular tables.
struct and class have uniform support for: methods, properties, member variable accessors.
Refactor common code into helpers.d
Added support for const function args.
pushMethod enhanced to support struct's as well.
Bonus: New alias syntax updates.

@TurkeyMan
Copy link
Contributor Author

Just the struct/class part in a single patch.

@TurkeyMan TurkeyMan changed the title struct changed to use userdata blocks. structs and classes implemented more completely Sep 2, 2014
@TurkeyMan
Copy link
Contributor Author

Updated again with fixes to handling of inout.

…Lua code to match handling of regular tables.

struct and class have uniform support for: methods, properties, member variable accessors.
Refactor common code into helpers.d
Added support for const function args.
pushMethod enhanced to support struct's aswell.
New alias syntax updates.
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