summaryrefslogtreecommitdiff
path: root/Examples/EmptyExtension/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/EmptyExtension/main.cpp')
-rw-r--r--Examples/EmptyExtension/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/EmptyExtension/main.cpp b/Examples/EmptyExtension/main.cpp
index 22aba90..b4c4426 100644
--- a/Examples/EmptyExtension/main.cpp
+++ b/Examples/EmptyExtension/main.cpp
@@ -16,11 +16,11 @@ extern "C" {
{
// static(!) Php::Extension object that should stay in memory
// for the entire duration of the process (that's why it's static)
- static Php::Extension myExtension("my_extension", "1.0");
+ static Php::Extension extension("yourextension", "1.0");
// @todo add your own functions, classes, namespaces to the extension
// return the extension
- return myExtension;
+ return extension;
}
}