/* DO NOT EDIT THIS FILE - it is machine generated by japharh */
#include "jni.h"

/* Stubs for class 'java_io_RandomAccessFile' */

#ifdef __cplusplus
extern "C" {
#endif

/* "java/io/RandomAccessFile/close()",
   Java_java_io_RandomAccessFile_close_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_close_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT void JNICALL
   Java_java_io_RandomAccessFile_close( JNIEnv *env, jobject obj );
  Java_java_io_RandomAccessFile_close( env, p[1].l );

  return p;
}

/* "java/io/RandomAccessFile/getFilePointer()",
   Java_java_io_RandomAccessFile_getFilePointer_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_getFilePointer_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT jlong JNICALL
   Java_java_io_RandomAccessFile_getFilePointer( JNIEnv *env, jobject obj );
  p[0].j = Java_java_io_RandomAccessFile_getFilePointer( env, p[1].l );

  return p;
}

/* "java/io/RandomAccessFile/initIDs()",
   Java_java_io_RandomAccessFile_initIDs_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_initIDs_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT void JNICALL
   Java_java_io_RandomAccessFile_initIDs( JNIEnv *env, jclass cls );
  Java_java_io_RandomAccessFile_initIDs( env, p[1].l );

  return p;
}

/* "java/io/RandomAccessFile/length()",
   Java_java_io_RandomAccessFile_length_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_length_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT jlong JNICALL
   Java_java_io_RandomAccessFile_length( JNIEnv *env, jobject obj );
  p[0].j = Java_java_io_RandomAccessFile_length( env, p[1].l );

  return p;
}

/* "java/io/RandomAccessFile/open()",
   Java_java_io_RandomAccessFile_open_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_open_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT void JNICALL
   Java_java_io_RandomAccessFile_open( JNIEnv *env, jobject obj, jstring, jboolean );
  Java_java_io_RandomAccessFile_open( env, p[1].l, p[2].l, p[3].i );

  return p;
}

/* "java/io/RandomAccessFile/read()",
   Java_java_io_RandomAccessFile_read_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_read_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT jint JNICALL
   Java_java_io_RandomAccessFile_read( JNIEnv *env, jobject obj );
  p[0].i = Java_java_io_RandomAccessFile_read( env, p[1].l );

  return p;
}

/* "java/io/RandomAccessFile/readBytes()",
   Java_java_io_RandomAccessFile_readBytes_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_readBytes_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT jint JNICALL
   Java_java_io_RandomAccessFile_readBytes( JNIEnv *env, jobject obj, jbyteArray, jint, jint );
  p[0].i = Java_java_io_RandomAccessFile_readBytes( env, p[1].l, p[2].l, p[3].i, p[4].i );

  return p;
}

/* "java/io/RandomAccessFile/seek()",
   Java_java_io_RandomAccessFile_seek_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_seek_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT void JNICALL
   Java_java_io_RandomAccessFile_seek( JNIEnv *env, jobject obj, jlong );
  Java_java_io_RandomAccessFile_seek( env, p[1].l, p[2].j );

  return p;
}

/* "java/io/RandomAccessFile/setLength()",
   Java_java_io_RandomAccessFile_setLength_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_setLength_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT void JNICALL
   Java_java_io_RandomAccessFile_setLength( JNIEnv *env, jobject obj, jlong );
  Java_java_io_RandomAccessFile_setLength( env, p[1].l, p[2].j );

  return p;
}

/* "java/io/RandomAccessFile/write()",
   Java_java_io_RandomAccessFile_write_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_write_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT void JNICALL
   Java_java_io_RandomAccessFile_write( JNIEnv *env, jobject obj, jint );
  Java_java_io_RandomAccessFile_write( env, p[1].l, p[2].i );

  return p;
}

/* "java/io/RandomAccessFile/writeBytes()",
   Java_java_io_RandomAccessFile_writeBytes_stub  */
JNIEXPORT jvalue * JNICALL
Java_java_io_RandomAccessFile_writeBytes_stub ( JNIEnv *env, jvalue *p )
{
  extern JNIEXPORT void JNICALL
   Java_java_io_RandomAccessFile_writeBytes( JNIEnv *env, jobject obj, jbyteArray, jint, jint );
  Java_java_io_RandomAccessFile_writeBytes( env, p[1].l, p[2].l, p[3].i, p[4].i );

  return p;
}

#ifdef __cplusplus
};
#endif
