Changeset 10112

Show
Ignore:
Timestamp:
09/24/06 20:11:25 (2 years ago)
Author:
piotras
Message:

define php_midgard_get_baseclass_ptr function

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/apis/php4/php_midgard.h

    r10034 r10112  
    241241        }\ 
    242242 
     243#define NOT_STATIC_METHOD() \ 
     244        if (!getThis()) { \ 
     245                php_error(E_WARNING, \ 
     246                        "%s() is not a static method", \ 
     247                        get_active_function_name(TSRMLS_C)); \ 
     248                return; \ 
     249        } 
     250 
     251zend_class_entry *php_midgard_get_baseclass_ptr(zend_class_entry *ce); 
     252 
    243253#endif  /* PHP_MIDGARD_H */ 
    244254