-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support %nspace for PHP #69
Comments
This has already been raised in the SWIG SF feature request tracker: http://sourceforge.net/p/swig/feature-requests/81/ At this point, it mostly just needs somebody to implement it... |
I've just merged Nihal's GSOC 2017 branch which has some commented out code for namespace support:
It seems just specifying the class name including the namespace prefix works, as I've used that to name the classes we now use to wrap non-class pointer types with a So now this probably "just" needs hooking up to SWIG's |
To be honest I dont remember why I used swig, but thank you for the follow up on this issue ! 😲 |
@ojwb I'm also interested in using namespace. Now that php target file is gone when using swig 4.1, I have no clue how to have a namespace for our PHP wrapper. |
It's probably not something I'll find time to work on for a while I'm afraid. If you want to try to implement it yourself, looks like
|
I don't think closing as "not planned" is appropriate. There's not a timescale for implementing it, but it's definitely something we ought to support (the first part is true for the majority of open tickets here, the second true for quite a lot of them). If you aren't interested in notifications, just unsubscribe from the issue. |
@ojwb sorry I was closing my issues of unmaintained package, I didn't checked out that swig was still under active development. Sorry 🙏 |
Hello,
It would be quite nice if Swig could manager PHP namespaces.
Il is quite similar to the java namespacing.
Thank you !
The text was updated successfully, but these errors were encountered: