You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/01 18:45:53 UTC
svn commit: r810117 - in /commons/sandbox/runtime/trunk/src/main/native:
include/acr_file.h os/win32/temps.c
Author: mturk
Date: Tue Sep 1 16:45:53 2009
New Revision: 810117
URL: http://svn.apache.org/viewvc?rev=810117&view=rev
Log:
Fix fn protos
Modified:
commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h
commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c
Modified: commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h?rev=810117&r1=810116&r2=810117&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/acr_file.h Tue Sep 1 16:45:53 2009
@@ -203,8 +203,8 @@
* @return Newly created unique directory path. Use ACR_Free when no longer
* needed.
*/
-ACR_DECLARE(char *) ACR_TempDirMake(JNIEnv *env, const acr_pchar_t *tmpath,
- const char *prefix);
+ACR_DECLARE(acr_pchar_t *) ACR_TempDirMake(JNIEnv *env, const acr_pchar_t *tmpath,
+ const acr_pchar_t *prefix);
/** Get system temporary directory.
* @param env JNI environment to use. If NULL no exception will be thrown
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c?rev=810117&r1=810116&r2=810117&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/temps.c Tue Sep 1 16:45:53 2009
@@ -47,8 +47,8 @@
return -1;
}
-ACR_DECLARE(char *) ACR_TempDirMake(JNIEnv *_E, const wchar_t *tmpath,
- const wchar_t *prefix)
+ACR_DECLARE(wchar_t *) ACR_TempDirMake(JNIEnv *_E, const wchar_t *tmpath,
+ const wchar_t *prefix)
{
return NULL;
}