summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-02-28 15:26:52 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-02-28 15:26:52 +0100
commit13fe1d48fa4782dc65f974bbc1cec5e2e5e8d158 (patch)
tree9ccff4cc1c31caeca664b9b8c14685554fdd9959 /src
parent7cf89f18d766368dd4a14d35e4e144107ad7be36 (diff)
fixed a number of todos
Diffstat (limited to 'src')
-rw-r--r--src/classbase.cpp6
-rw-r--r--src/includes.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/classbase.cpp b/src/classbase.cpp
index 8c5e238..da705b6 100644
--- a/src/classbase.cpp
+++ b/src/classbase.cpp
@@ -136,7 +136,6 @@ const struct _zend_function_entry *ClassBase::entries()
zend_function_entry *entry = &_entries[i++];
// let the function fill the entry
- // @todo check flags for the method
method->initialize(entry, _name);
}
@@ -199,9 +198,8 @@ void ClassBase::initialize()
#endif
// set access types flags for class
- // @todo something with the flags, but before or after the register_internal_class?
- //setFlags(entry, _type.getFlags());
-
+ _entry->ce_flags = flags;
+
// declare all member variables
for (auto &member : _members) member->initialize(_entry);
}
diff --git a/src/includes.h b/src/includes.h
index f101080..d2355c1 100644
--- a/src/includes.h
+++ b/src/includes.h
@@ -23,7 +23,7 @@
#include <iostream>
/**
- * @todo: if ZTS defined very many errors. need debug.
+ * @todo: if ZTS defined many errors appear. need debug.
*/
//#define ZTS 1