diff options
author | Martijn Otto <martijn.otto@copernica.com> | 2016-05-17 13:47:20 +0200 |
---|---|---|
committer | Martijn Otto <martijn.otto@copernica.com> | 2016-05-17 13:47:20 +0200 |
commit | dd5f3a635053aa03417cdab1228e03c94b9c3136 (patch) | |
tree | 53178a459fcefdfa551eb501064e70453611788a /include/file.h | |
parent | 9f2e816c787c30ceeb139623c8dae594c4b4443d (diff) |
Fixed final compilation issues
Diffstat (limited to 'include/file.h')
-rw-r--r-- | include/file.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/file.h b/include/file.h index fff3cd0..4fab1c5 100644 --- a/include/file.h +++ b/include/file.h @@ -9,6 +9,11 @@ */ /** + * Forward declarations + */ +struct _zend_string; + +/** * Set up namespace */ namespace Php { @@ -81,15 +86,15 @@ public: private: /** * The full resolved path name - * @var const char * + * @var struct _zend_string* */ - char *_path = nullptr; + struct _zend_string *_path = nullptr; /** * The opcodes of this file - * @var Opcodes + * @var std::unique_ptr<Opcodes> */ - Opcodes *_opcodes = nullptr; + std::unique_ptr<Opcodes> _opcodes; /** * Compile the file |