cvs: php4 /ext/satellite object.c php_orbit.c
| From: | Hartmut Holzgraefe | Date: | Thu, 06 Dec 2001 17:43:34 +0000 |
| Subject: | cvs: php4 /ext/satellite object.c php_orbit.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8471@lists.php.net to get a copy of this message | ||
hholzgra Thu Dec 6 12:43:34 2001 EDT
Modified files:
/php4/ext/satellite object.c php_orbit.c
Log:
proto fixes
Index: php4/ext/satellite/object.c
diff -u php4/ext/satellite/object.c:1.11 php4/ext/satellite/object.c:1.12
--- php4/ext/satellite/object.c:1.11 Wed Sep 26 07:09:09 2001
+++ php4/ext/satellite/object.c Thu Dec 6 12:43:34 2001
@@ -17,7 +17,7 @@
*/
/*
- * $Id: object.c,v 1.11 2001/09/26 11:09:09 eriksson Exp $
+ * $Id: object.c,v 1.12 2001/12/06 17:43:34 hholzgra Exp $
* vim: syntax=c tabstop=2 shiftwidth=2
*/
@@ -853,6 +853,8 @@
return success;
}
+/* {{{ proto string satellite_object_to_string(object obj)
+ Convert an object to its string representation */
PHP_FUNCTION(satellite_object_to_string)
{
zval **arg = NULL;
@@ -892,4 +894,4 @@
error:
RETURN_NULL();
}
-
+/* }}} */
Index: php4/ext/satellite/php_orbit.c
diff -u php4/ext/satellite/php_orbit.c:1.11 php4/ext/satellite/php_orbit.c:1.12
--- php4/ext/satellite/php_orbit.c:1.11 Wed Dec 5 18:07:13 2001
+++ php4/ext/satellite/php_orbit.c Thu Dec 6 12:43:34 2001
@@ -17,7 +17,7 @@
*/
/*
- * $Id: php_orbit.c,v 1.11 2001/12/05 23:07:13 hholzgra Exp $
+ * $Id: php_orbit.c,v 1.12 2001/12/06 17:43:34 hholzgra Exp $
* vim: syntax=c tabstop=2 shiftwidth=2
*/
@@ -136,7 +136,8 @@
DISPLAY_INI_ENTRIES();
}
-/* instruct the type manager to load an IDL file if not already loaded */
+/* {{{ proto bool satellite_load_idl(string file)
+ Instruct the type manager to load an IDL file if not already loaded */
PHP_FUNCTION(satellite_load_idl)
{
zval * p_parameter;
@@ -156,7 +157,10 @@
RETURN_BOOL(TypeManager_LoadFile(Z_STRVAL_P(p_parameter)));
}
+/* }}} */
+/* {{{ proto int satellite_get_repository_id(object obj)
+ NOT IMPLEMENTED */
/*
* NOT IMPLEMENTED
*
@@ -165,6 +169,7 @@
PHP_FUNCTION(satellite_get_repository_id)
{
}
+/* }}} */
/* {{{ proto bool satellite_caught_exception(void)
See if an exception was caught from the previous function */
@@ -172,7 +177,10 @@
{
RETURN_BOOL(orbit_caught_exception());
}
+/* }}} */
+/* {{{ proto string satellite_exception_id(void)
+ Get exception caught from the previous function */
PHP_FUNCTION(satellite_exception_id)
{
CORBA_char * p_id = CORBA_exception_id(orbit_get_environment());
@@ -181,6 +189,8 @@
}
/* }}} */
+/* {{{ proto object satellite_exception_value(void)
+ Get the exception struct for the latest exception */
/* real name: php_if_orbit_exception_value */
PHP_FUNCTION(satellite_exception_value)
{
@@ -201,4 +211,4 @@
/* create structure with exception data */
orbit_namedvalue_to_zval(&source, return_value);
}
-
+/* }}} */