summaryrefslogtreecommitdiff
path: root/hhvm/extension.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-25 17:56:45 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-25 17:56:45 +0100
commit089c92358d4f43f1715d94244acb4d665fe50d29 (patch)
tree9ac3128d5383c557e4280456c752bd301ef0609a /hhvm/extension.cpp
parentae35c4f2b94e37c871ec144ca83c93f215ac6b26 (diff)
parent962ebb8c61a17f889ae1558f6a090ccbd5fa5423 (diff)
Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/PHP-CPP
Diffstat (limited to 'hhvm/extension.cpp')
-rw-r--r--hhvm/extension.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/hhvm/extension.cpp b/hhvm/extension.cpp
index 9685b32..97fdaed 100644
--- a/hhvm/extension.cpp
+++ b/hhvm/extension.cpp
@@ -2,7 +2,7 @@
* Extension.cpp
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
- * @copyright 2013, 2014 Copernica BV
+ * @copyright 2013, 2014, 2015 Copernica BV
*/
#include "includes.h"
@@ -15,9 +15,10 @@ namespace Php {
* Constructor that defines a number of functions right away
* @param name Extension name
* @param version Extension version string
+ * @param apiversion The API version number
*/
-Extension::Extension(const char *name, const char *version) :
- Namespace(""), _impl(new ExtensionImpl(this, name, version)) {}
+Extension::Extension(const char *name, const char *version, int apiversion) :
+ Namespace(""), _impl(new ExtensionImpl(this, name, version, apiversion)) {}
/**
* Destructor