@@ -856,7 +856,8 @@ int phpdbg_open_sockets(char *address, int port[2], int (*listen)[2], int (*sock
856
856
return SUCCESS ;
857
857
} /* }}} */
858
858
859
- void phpdbg_signal_handler (int sig , siginfo_t * info , void * context ) {
859
+ void phpdbg_signal_handler (int sig , siginfo_t * info , void * context ) /* {{{ */
860
+ {
860
861
int is_handled = FAILURE ;
861
862
TSRMLS_FETCH ();
862
863
@@ -874,10 +875,11 @@ void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) {
874
875
break ;
875
876
}
876
877
877
- }
878
+ } /* }}} */
878
879
#endif
879
880
880
- static inline zend_mm_heap * phpdbg_mm_get_heap () {
881
+ static inline zend_mm_heap * phpdbg_mm_get_heap () /* {{{ */
882
+ {
881
883
zend_mm_heap * mm_heap ;
882
884
883
885
TSRMLS_FETCH ();
@@ -886,22 +888,22 @@ static inline zend_mm_heap *phpdbg_mm_get_heap() {
886
888
zend_mm_set_heap (mm_heap TSRMLS_CC );
887
889
888
890
return mm_heap ;
889
- }
891
+ } /* }}} */
890
892
891
- void * phpdbg_malloc_wrapper (size_t size )
893
+ void * phpdbg_malloc_wrapper (size_t size ) /* {{{ */
892
894
{
893
895
return zend_mm_alloc (phpdbg_mm_get_heap (), size );
894
- }
896
+ } /* }}} */
895
897
896
- void phpdbg_free_wrapper (void * p )
898
+ void phpdbg_free_wrapper (void * p ) /* {{{ */
897
899
{
898
900
zend_mm_free (phpdbg_mm_get_heap (), p );
899
- }
901
+ } /* }}} */
900
902
901
- void * phpdbg_realloc_wrapper (void * ptr , size_t size )
903
+ void * phpdbg_realloc_wrapper (void * ptr , size_t size ) /* {{{ */
902
904
{
903
905
return zend_mm_realloc (phpdbg_mm_get_heap (), ptr , size );
904
- }
906
+ } /* }}} */
905
907
906
908
int main (int argc , char * * argv ) /* {{{ */
907
909
{
0 commit comments