diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-04 22:01:44 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-04 22:01:44 +0100 |
commit | 29ea3a29642f5cec612f102683e6d43aba226148 (patch) | |
tree | ae9e268f5db60c79ee9f00c0294ca6865beb60ac /Examples/CallPhpFunctions | |
parent | 5aaeb88d8b753a3b51e81c36dba6293dd436148b (diff) |
fixed some examples
Diffstat (limited to 'Examples/CallPhpFunctions')
-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 |