summaryrefslogtreecommitdiff
path: root/Examples/CallPhpFunctions
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-04 22:01:44 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-04 22:01:44 +0100
commit29ea3a29642f5cec612f102683e6d43aba226148 (patch)
treeae9e268f5db60c79ee9f00c0294ca6865beb60ac /Examples/CallPhpFunctions
parent5aaeb88d8b753a3b51e81c36dba6293dd436148b (diff)
fixed some examples
Diffstat (limited to 'Examples/CallPhpFunctions')
-rw-r--r--Examples/CallPhpFunctions/callphpfunction.cpp4
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