summaryrefslogtreecommitdiff
path: root/hhvm/extension.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-21 15:12:56 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-21 15:12:56 +0100
commit962ebb8c61a17f889ae1558f6a090ccbd5fa5423 (patch)
treeb63d2a379666fa0f17866259be5a6c9164f3b982 /hhvm/extension.cpp
parent699f3c34daf086a3e9046c73c4e3785ea44a063d (diff)
fixed compile issues for HHVM (not that the HHVM version works, but people try to compile it, see commit 5235f87126cc2bca3907daada9f59e0c7c7bc834)
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