jvm.h (_Jv_ThrowBadArrayIndex, [...]): Mark as noreturn.
2002-04-11 Adam King <aking@dreammechanics.com> Tom Tromey <tromey@redhat.com> * include/jvm.h (_Jv_ThrowBadArrayIndex, _Jv_ThrowNullPointerException): Mark as noreturn. * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked and _Jv_free. Correctly invoke GetTempPath(). Indentation fixes. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r52164
This commit is contained in:
parent
1a05e8743e
commit
94ed000253
3 changed files with 36 additions and 22 deletions
|
@ -1,6 +1,6 @@
|
|||
// jvm.h - Header file for private implementation information. -*- c++ -*-
|
||||
|
||||
/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation
|
||||
/* Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
|
@ -283,8 +283,10 @@ _Jv_GetArrayElementFromElementType (jobject array,
|
|||
return elts;
|
||||
}
|
||||
|
||||
extern "C" void _Jv_ThrowBadArrayIndex (jint bad_index);
|
||||
extern "C" void _Jv_ThrowNullPointerException (void);
|
||||
extern "C" void _Jv_ThrowBadArrayIndex (jint bad_index)
|
||||
__attribute__((noreturn));
|
||||
extern "C" void _Jv_ThrowNullPointerException (void)
|
||||
__attribute__((noreturn));
|
||||
extern "C" jobject _Jv_NewArray (jint type, jint size)
|
||||
__attribute__((__malloc__));
|
||||
extern "C" jobject _Jv_NewMultiArray (jclass klass, jint dims, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue