-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add support for field and method properties #69
Conversation
example/skel/src/lib.rs
Outdated
#[prop(flags = PropertyFlags::Private, rename = "Hello")] | ||
a: i32, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to pick up syn::Visibility
here? Would it ever make sense to have different levels of visibility between rust and php?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have been removed but we can't change the property visibility at the moment, I'm pretty sure it's done through the property reflection which doesn't work with field properties.
dd82701
to
f9ddeeb
Compare
Technically, the zend object _could_ move in memory, leaving dangling references in the properties hashtable. We will just build the hashtable when required.
f9ddeeb
to
8d6f5f4
Compare
No description provided.