diff options
Diffstat (limited to 'Examples/CallPhpFunctions/callphpfunction.cpp')
-rw-r--r-- | Examples/CallPhpFunctions/callphpfunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/CallPhpFunctions/callphpfunction.cpp b/Examples/CallPhpFunctions/callphpfunction.cpp index 9932a3e..9190065 100644 --- a/Examples/CallPhpFunctions/callphpfunction.cpp +++ b/Examples/CallPhpFunctions/callphpfunction.cpp @@ -43,8 +43,8 @@ extern "C" // add function to extension extension.add("call_php_function", call_php_function, { - Php::ByVal("addFunc", Php::callableType), - Php::ByVal("x", Php::numericType) + Php::ByVal("addFunc", Php::Type::Callable), + Php::ByVal("x", Php::Type::Numeric) }); // return the extension module |