summaryrefslogtreecommitdiff
path: root/include/namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/namespace.h')
-rw-r--r--include/namespace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/namespace.h b/include/namespace.h
index e713850..84f0740 100644
--- a/include/namespace.h
+++ b/include/namespace.h
@@ -16,7 +16,7 @@ namespace Php {
/**
* Forward declaration
*/
-class Function;
+class NativeFunction;
/**
* Class definition
@@ -34,7 +34,7 @@ protected:
* Functions defined in the namespace
* @var list
*/
- std::list<std::shared_ptr<Function>> _functions;
+ std::list<std::shared_ptr<NativeFunction>> _functions;
/**
* Classes defined in the namespace
@@ -220,7 +220,7 @@ public:
*
* @param callback
*/
- void functions(const std::function<void(const std::string &ns, Function &func)> &callback);
+ void functions(const std::function<void(const std::string &ns, NativeFunction &func)> &callback);
/**
* Apply a callback to each registered class