proto fixes

This commit is contained in:
Hartmut Holzgraefe 2001-12-05 23:01:21 +00:00
parent 6a42e63dee
commit 2c93a6ac2d
4 changed files with 23 additions and 2 deletions

View file

@ -480,6 +480,8 @@ void java_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_property_refe
/***************************************************************************/
/* {{{ proto object java_last_exception_get(void)
Get last Java exception */
PHP_FUNCTION(java_last_exception_get)
{
jlong result = 0;
@ -495,8 +497,12 @@ PHP_FUNCTION(java_last_exception_get)
(*JG(jenv))->CallVoidMethod(JG(jenv), JG(php_reflect), lastEx, result);
}
/* }}} */
/***************************************************************************/
/* {{{ proto void java_last_exception_clear(void)
Clear last java extension */
PHP_FUNCTION(java_last_exception_clear)
{
jlong result = 0;
@ -512,6 +518,8 @@ PHP_FUNCTION(java_last_exception_clear)
(*JG(jenv))->CallVoidMethod(JG(jenv), JG(php_reflect), clearEx);
}
/* }}} */
/***************************************************************************/
static pval _java_getset_property