diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/classbase.cpp | 6 | ||||
-rw-r--r-- | src/includes.h | 2 |
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 |