mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Merge branch 'master' of https://github.com/krakjoe/phpdbg
This commit is contained in:
commit
beea71bd25
3 changed files with 20 additions and 16 deletions
|
@ -81,7 +81,7 @@ PHPDBG_API int phpdbg_print(int TSRMLS_DC, FILE*, const char*, ...) PHP_ATTRIBUT
|
|||
{color, sizeof(color)-1, code}
|
||||
#define PHPDBG_COLOR_END \
|
||||
{NULL, 0L, {0}}
|
||||
|
||||
|
||||
#define PHPDBG_COLOR_INVALID -1
|
||||
#define PHPDBG_COLOR_PROMPT 0
|
||||
#define PHPDBG_COLOR_ERROR 1
|
||||
|
@ -94,7 +94,7 @@ typedef struct _phpdbg_color_t {
|
|||
const char code[PHPDBG_COLOR_LEN];
|
||||
} phpdbg_color_t;
|
||||
|
||||
PHPDBG_API const phpdbg_color_t* phpdbg_get_color(const char *name, size_t name_length TSRMLS_DC);
|
||||
PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length TSRMLS_DC);
|
||||
PHPDBG_API void phpdbg_set_color(int element, const phpdbg_color_t *color TSRMLS_DC);
|
||||
PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length TSRMLS_DC);
|
||||
PHPDBG_API const phpdbg_color_t* phpdbg_get_colors(TSRMLS_D); /* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue