From 8e9a7cac42d554402a6ead3a83ae8b7defc9247b Mon Sep 17 00:00:00 2001
From: Stephan Bergmann
Instances of this struct are created by the plug-in libraries which are used by
- this framework (jvmfwk/vendorplugin.h).
- For convenience this API provides the function jfw_freeJavaInfo
- which frees the objects properly.
JavaInfo
object.
- @param pInfo
- The object which is to be freed. It can be NULL;
- */
-JVMFWK_DLLPUBLIC void jfw_freeJavaInfo(JavaInfo *pInfo);
-
-
/** compares two JavaInfo
objects for equality.
Two JavaInfo
objects are said to be equal if the contained
@@ -362,7 +353,7 @@ JVMFWK_DLLPUBLIC javaFrameworkError jfw_isVMRunning(sal_Bool *bRunning);
@param ppInfo
[out] a JavaInfo
pointer, representing the selected JRE.
- The caller has to free it by calling jfw_freeJavaInfo
. The
+ The caller has to delete it. The
JavaInfo
is for informational purposes only. It is not
necessary to call jfw_setSelectedJRE
afterwards.
ppInfo
can be NULL. If *ppInfo
is not null, then it is
@@ -393,7 +384,7 @@ JVMFWK_DLLPUBLIC javaFrameworkError jfw_findAndSelectJRE(JavaInfo **pInfo);
[out] on returns it contains a pointer to an array of JavaInfo
pointers.
The caller must free the array with rtl_freeMemory
and each
- element of the array must be freed with jfw_freeJavaInfo
.
+ element of the array must be deleted.
@param pSize
[out] on return contains the size of array returned in parInfo
.
@@ -750,8 +741,8 @@ JVMFWK_DLLPUBLIC javaFrameworkError jfw_existJRE(const JavaInfo *pInfo, sal_Bool
should be called. That is, jfw_startVM
which uses the
settings cannot be called before all settings have be made.
- The only functions which are not effected by jfw_lock
are
- jfw_freeJavaInfo
and jfw_areEqualJavaInfo
.
+ The only functions which is not effected by jfw_lock
is
+ jfw_areEqualJavaInfo
.
*/
JVMFWK_DLLPUBLIC void jfw_lock();
--
cgit