-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced PropertyPtrPtr interface to return pointer to Zval of prop…
…erty object.
- Loading branch information
1 parent
26cbf1e
commit 687714e
Showing
6 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* PropertyPtrPtr.h | ||
* | ||
* "Interface" that can be "implemented" by your class. If you do, you | ||
* create your class like this: | ||
* | ||
* class MyClass : public Php::Base, public Php::PropertyPtrPtr { ... } | ||
* | ||
* @author Kirill Morozov <[email protected]> | ||
* @copyright 2020 Morozov | ||
*/ | ||
|
||
/** | ||
* Set up namespace | ||
*/ | ||
namespace Php { | ||
|
||
/** | ||
* Class definition | ||
*/ | ||
class PHPCPP_EXPORT PropertyPtrPtr | ||
{ | ||
public: | ||
|
||
/** | ||
* Retrieve a member | ||
* @param key | ||
* @return value | ||
*/ | ||
virtual Php::Value getPropertyPtrPtr(const Php::Value &member, int type) = 0; | ||
|
||
/** | ||
* Destructor | ||
*/ | ||
virtual ~PropertyPtrPtr() = default; | ||
}; | ||
|
||
/** | ||
* End namespace | ||
*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters