From 962ebb8c61a17f889ae1558f6a090ccbd5fa5423 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Wed, 21 Jan 2015 15:12:56 +0100 Subject: fixed compile issues for HHVM (not that the HHVM version works, but people try to compile it, see commit 5235f87126cc2bca3907daada9f59e0c7c7bc834) --- hhvm/extension.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hhvm/extension.cpp') 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 - * @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 -- cgit v1.2.3