diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-05 13:59:52 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-05 13:59:52 +0100 |
commit | 2b31e46147dbfc024e54e029fdee1da7a82ce71a (patch) | |
tree | 18d93e5dd2b8d171fed9d0f3a857e1d077709b4a /Examples/EmptyExtension | |
parent | c6df89695114b6dbd4977aa012291a42bf69d612 (diff) |
fixed compiling CppClassesInPhp, renamed compile-extensions to your-first-extension, and modified the content
Diffstat (limited to 'Examples/EmptyExtension')
-rw-r--r-- | Examples/EmptyExtension/main.cpp | 4 |
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; } } |