summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_watch.h
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phpdbg/phpdbg_watch.h')
-rw-r--r--sapi/phpdbg/phpdbg_watch.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/sapi/phpdbg/phpdbg_watch.h b/sapi/phpdbg/phpdbg_watch.h
index 2736b1df64..d101ab116d 100644
--- a/sapi/phpdbg/phpdbg_watch.h
+++ b/sapi/phpdbg/phpdbg_watch.h
@@ -21,7 +21,6 @@
#ifndef PHPDBG_WATCH_H
#define PHPDBG_WATCH_H
-#include "TSRM.h"
#include "phpdbg_cmd.h"
#ifdef _WIN32
@@ -41,6 +40,7 @@ extern const phpdbg_command_t phpdbg_watch_commands[];
/* Watchpoint functions/typedefs */
+/* References are managed through their parent zval *, being a simple WATCH_ON_ZVAL and eventually WATCH_ON_REFCOUNTED */
typedef enum {
WATCH_ON_ZVAL,
WATCH_ON_HASHTABLE,
@@ -66,11 +66,10 @@ struct _phpdbg_watchpoint_t {
phpdbg_watchtype type;
char flags;
phpdbg_watchpoint_t *parent;
+ phpdbg_watchpoint_t *reference;
HashTable *parent_container;
- char *name_in_parent;
- size_t name_in_parent_len;
- char *str;
- size_t str_len;
+ zend_string *name_in_parent;
+ zend_string *str;
};
typedef struct {