[xdebug-dev] xdebug xdebug/xdebug.c - Add some protos

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Thu, 17 Jun 2004 17:27:37 +0200

Date: Thu Jun 17 17:27:37 CEST 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.10]
- Add some protos

Modified files:
           xdebug/xdebug.c (version: 1.221)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -r1.220 -r1.221
--- xdebug/xdebug.c:1.220 Fri Jun 11 11:56:08 2004 GMT
+++ xdebug/xdebug.c Thu Jun 17 13:27:37 2004 GMT
@@ -1485,6 +1485,8 @@
 }
 /* }}} */
 
+/* {{{ proto array xdebug_get_function_stack()
+ Returns an array representing the current stack */
 PHP_FUNCTION(xdebug_get_function_stack)
 {
         xdebug_llist_element *le;
@@ -1541,7 +1543,10 @@
                 add_next_index_zval(return_value, frame);
         }
 }
+/* }}} */
 
+/* {{{ proto string xdebug_call_class()
+ Returns the name of the calling class */
 PHP_FUNCTION(xdebug_call_class)
 {
         xdebug_llist_element *le;
@@ -1562,7 +1567,10 @@
                 RETURN_FALSE;
         }
 }
+/* }}} */
 
+/* {{{ proto string xdebug_call_function()
+ Returns the function name from which the current function was called from. */
 PHP_FUNCTION(xdebug_call_function)
 {
         xdebug_llist_element *le;
@@ -1583,7 +1591,10 @@
                 RETURN_FALSE;
         }
 }
+/* }}} */
 
+/* {{{ proto string xdebug_call_line()
+ Returns the line number where the current function was called from. */
 PHP_FUNCTION(xdebug_call_line)
 {
         xdebug_llist_element *le;
@@ -1601,7 +1612,10 @@
                 RETURN_FALSE;
         }
 }
+/* }}} */
 
+/* {{{ proto int xdebug_call_file()
+ Returns the filename where the current function was called from. */
 PHP_FUNCTION(xdebug_call_file)
 {
         xdebug_llist_element *le;
@@ -1619,8 +1633,9 @@
                 RETURN_FALSE;
         }
 }
+/* }}} */
 
-/* {{{ proto void xdebug_var_dump(mixed var)
+/* {{{ proto void xdebug_var_dump(mixed var [, ...] )
    Outputs a fancy string representation of a variable */
 PHP_FUNCTION(xdebug_var_dump)
 {
Received on Thu Jun 17 2004 - 17:27:38 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST