summaryrefslogtreecommitdiff
path: root/include/value.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-07 10:55:53 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-07 10:55:53 +0200
commit45a79f33051ed70fd69d3b9943a1e5797402430e (patch)
treef87bacb47b746182367bbb1e9840f5cb32cbb783 /include/value.h
parente2b543132bdf6cf7c335801139c19cc17dca0c34 (diff)
objects were not destructed correctly (we freed memory that we had allocated ourselves, but the Zend engine seemed to deallocate the same memory too, which caused a crash), and improved returning values from functions, which crashed when one of the own parameters was directly returned (error mentioned in issue #68)
Diffstat (limited to 'include/value.h')
-rw-r--r--include/value.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/value.h b/include/value.h
index 844f978..95985d7 100644
--- a/include/value.h
+++ b/include/value.h
@@ -949,6 +949,7 @@ protected:
friend class TraverseIterator;
friend class HashMember<int>;
friend class HashMember<std::string>;
+ friend class Callable;
};
/**