mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
bit more work on menu
implement helper menu name some macros to help with declarations (sorry Felipe :))
This commit is contained in:
parent
39263cbfb1
commit
2089caed53
6 changed files with 207 additions and 42 deletions
38
phpdbg_help.c
Normal file
38
phpdbg_help.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2013 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Authors: Felipe Pena <felipe@php.net> |
|
||||
| Authors: Joe Watkins <joe.watkins@live.co.uk> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "zend.h"
|
||||
#include "phpdbg.h"
|
||||
#include "phpdbg_help.h"
|
||||
|
||||
PHPDBG_HELP(print) /* {{{ */
|
||||
{
|
||||
printf("doing print help: %s\n", expr);
|
||||
|
||||
return SUCCESS;
|
||||
} /* }}} */
|
||||
|
||||
PHPDBG_HELP(brake) /* {{{ */
|
||||
{
|
||||
printf("doing brake help: %s\n", expr);
|
||||
|
||||
return SUCCESS;
|
||||
} /* }}} */
|
||||
Loading…
Add table
Add a link
Reference in a new issue