diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-05 20:14:40 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-05 20:14:40 -0500 |
commit | 3d976959ac21e14b3d729ee0c81cbebd3e520612 (patch) | |
tree | e908cbc956944416a2e41b8b85357b543d34fa99 /hscript/script.hh | |
parent | a531cdb8c1e6c47e675f6c256012e61812ce0a44 (diff) | |
download | horizon-3d976959ac21e14b3d729ee0c81cbebd3e520612.tar.gz horizon-3d976959ac21e14b3d729ee0c81cbebd3e520612.tar.bz2 horizon-3d976959ac21e14b3d729ee0c81cbebd3e520612.tar.xz horizon-3d976959ac21e14b3d729ee0c81cbebd3e520612.zip |
More API drafting
Diffstat (limited to 'hscript/script.hh')
-rw-r--r-- | hscript/script.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hscript/script.hh b/hscript/script.hh index feee23b..98f79af 100644 --- a/hscript/script.hh +++ b/hscript/script.hh @@ -12,11 +12,10 @@ #include <string> #include <vector> +#include <memory> namespace Horizon { -struct ScriptPrivate; - /*! Defines the Script class, which represents a HorizonScript. */ class Script { public: @@ -34,8 +33,9 @@ public: std::vector<std::string> scriptErrors(); private: + struct ScriptPrivate; /*! Internal data. */ - ScriptPrivate *internal; + const std::unique_ptr<ScriptPrivate> internal; }; } |