2
* See the file LICENSE for redistribution information.
4
* Copyright (c) 1997-2002
5
* Sleepycat Software. All rights reserved.
10
static const char revid[] = "$Id: java_DbLsn.c,v 11.12 2002/05/07 16:12:41 dda Exp $";
16
#include <stdio.h> /* needed for FILENAME_MAX */
19
#include "java_util.h"
20
#include "com_sleepycat_db_DbLsn.h"
22
JNIEXPORT void JNICALL Java_com_sleepycat_db_DbLsn_init_1lsn
23
(JNIEnv *jnienv, /*DbLsn*/ jobject jthis)
26
* Note: the DB_LSN object stored in the private_dbobj_
27
* is allocated in get_DbLsn() or get_DB_LSN().
30
COMPQUIET(jnienv, NULL);
31
COMPQUIET(jthis, NULL);
34
JNIEXPORT void JNICALL Java_com_sleepycat_db_DbLsn_finalize
35
(JNIEnv *jnienv, jobject jthis)
39
dblsn = get_DB_LSN(jnienv, jthis);
41
(void)__os_free(NULL, dblsn);