diff options
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 |