diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-15 05:54:52 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-15 05:54:52 -0700 |
commit | 61ba30d716dab670a5f2ed0ee2f6650375b2058d (patch) | |
tree | 711db9359015de260071088ef027b020cd95d4b3 /include/parameters.h | |
parent | b2042dbd58c043ab49e9b0dbb51bf8516fe8cea8 (diff) |
Calling custom member methods is now functional
Diffstat (limited to 'include/parameters.h')
-rw-r--r-- | include/parameters.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/include/parameters.h b/include/parameters.h index 138d973..b4aca16 100644 --- a/include/parameters.h +++ b/include/parameters.h @@ -13,6 +13,11 @@ namespace Php { /** + * Forward declarations + */ +class Base; + +/** * Class definition */ class Parameters : public std::vector<Value> @@ -20,15 +25,29 @@ class Parameters : public std::vector<Value> public: /** * Constructor - * @param argc Number of arguments + * @param this_ptr Optional this_ptr + * @param argc Number of arguments * @param tsrm_ls */ - Parameters(int argc);// TSRMLS_DC); + Parameters(struct _zval_struct *this_ptr, int argc);// TSRMLS_DC); /** * Destructor */ virtual ~Parameters() {} + + /** + * The the object that is called + * @return Base + */ + Base *object(); + +private: + /** + * The this pointer + * @var zval + */ + struct _zval_struct *_this; }; /** |