From 9ba4fb9ae4233a656bbfca1b169b0a608202b717 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Sun, 25 Aug 2013 23:10:15 +0200 Subject: By hiding a pointer to the callable object in front of the function name we have managed to retrieve back the callable object, so we can pass all callbacks to one single function, which will further deliver them to the appropriate function object --- tests/simple/simple.cpp | 2 +- tests/simple/simple.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 tests/simple/simple.php (limited to 'tests') diff --git a/tests/simple/simple.cpp b/tests/simple/simple.cpp index ec39770..06d4431 100644 --- a/tests/simple/simple.cpp +++ b/tests/simple/simple.cpp @@ -7,8 +7,8 @@ * @copyright 2013 Copernica BV */ #include -#include #include +#include /** * Namespace to use diff --git a/tests/simple/simple.php b/tests/simple/simple.php new file mode 100644 index 0000000..0fb3e32 --- /dev/null +++ b/tests/simple/simple.php @@ -0,0 +1,3 @@ + \ No newline at end of file -- cgit v1.2.3