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

Added support for pointers (depends on structs+classes PR) #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TurkeyMan
Copy link
Contributor

Added support for pointers.

Pointers are opaque, copy by-value. Use the 'deref' property to access the object.

*Note: this depends on (ie, this PR includes) the struct patch, we need to work on pulling that first.

@TurkeyMan TurkeyMan changed the title Pointers Added support for pointers (depends on structs+classes PR) Sep 2, 2014
@TurkeyMan TurkeyMan force-pushed the pointers branch 2 times, most recently from b4d7648 to bb03959 Compare September 8, 2014 14:19
…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.
Pointers are opaque.
Pointers support 'nil' assignment.
'deref' property on pointers to access the actual object.
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