Changed code to use a single FlmDbSystem object. Fixed utilities so that they build using FTK.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@405 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-05-10 22:27:54 +00:00
parent 62e33bcd7d
commit 8df295d049
30 changed files with 289 additions and 447 deletions

View File

@@ -503,7 +503,7 @@ JNIEXPORT jstring JNICALL Java_xflaim_DataVector__1getString(
goto Exit;
}
sBuf = pEnv->NewString( puzBuf, uiBufSize / sizeof( FLMUNICODE));
sBuf = pEnv->NewString( puzBuf, (jsize)(uiBufSize / sizeof( FLMUNICODE)));
Exit:
@@ -532,7 +532,7 @@ JNIEXPORT jbyteArray JNICALL Java_xflaim_DataVector__1getBinary(
FLMBOOL bMustRelease = false;
uiLength = THIS_VECTOR()->getDataLength( (FLMUINT)iElementNumber);
Data = pEnv->NewByteArray( uiLength);
Data = pEnv->NewByteArray( (jsize)uiLength);
if ( (pvData = pEnv->GetPrimitiveArrayCritical( Data, &bIsCopy)) == NULL)
{
@@ -589,7 +589,7 @@ JNIEXPORT jbyteArray JNICALL Java_xflaim_DataVector__1outputKey(
FLMBOOL bMustRelease = false;
uiLength = XFLM_MAX_KEY_SIZE;
Key = pEnv->NewByteArray( uiLength);
Key = pEnv->NewByteArray( (jsize)uiLength);
if( (pvKey = pEnv->GetPrimitiveArrayCritical( Key, &bIsCopy)) == NULL)
{
@@ -646,7 +646,7 @@ JNIEXPORT jbyteArray JNICALL Java_xflaim_DataVector__1outputData(
FLMBOOL bMustRelease = false;
uiLength = XFLM_MAX_KEY_SIZE;
Data = pEnv->NewByteArray( uiLength);
Data = pEnv->NewByteArray( (jsize)uiLength);
if ( (pvData = pEnv->GetPrimitiveArrayCritical( Data, &bIsCopy)) == NULL)
{