home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
kaffe-0.5p4-src.tgz
/
tar.out
/
contrib
/
kaffe
/
lib
/
native
/
java.io.stubs
/
RandomAccessFileStub.c
< prev
Wrap
C/C++ Source or Header
|
1996-09-28
|
3KB
|
80 lines
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <stubPreamble.h>
/* Stubs for class java_io_RandomAccessFile */
/* SYMBOL: java_io_RandomAccessFile open(Ljava/lang/String;Z)V */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_open_stub(stack_item* _P_)
{
extern void java_io_RandomAccessFile_open(void*, void*, jint /* bool */);
java_io_RandomAccessFile_open(_P_[2].p, _P_[1].p, _P_[0].i);
}
/* SYMBOL: java_io_RandomAccessFile read()I */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_read_stub(stack_item* _P_)
{
extern jint java_io_RandomAccessFile_read(void*);
jint ret = java_io_RandomAccessFile_read(_P_[0].p);
return_int(ret);
}
/* SYMBOL: java_io_RandomAccessFile readBytes([BII)I */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_readBytes_stub(stack_item* _P_)
{
extern jint java_io_RandomAccessFile_readBytes(void*, HArrayOfByte*, jint, jint);
jint ret = java_io_RandomAccessFile_readBytes(_P_[3].p, _P_[2].p, _P_[1].i, _P_[0].i);
return_int(ret);
}
/* SYMBOL: java_io_RandomAccessFile write(I)V */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_write_stub(stack_item* _P_)
{
extern void java_io_RandomAccessFile_write(void*, jint);
java_io_RandomAccessFile_write(_P_[1].p, _P_[0].i);
}
/* SYMBOL: java_io_RandomAccessFile writeBytes([BII)V */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_writeBytes_stub(stack_item* _P_)
{
extern void java_io_RandomAccessFile_writeBytes(void*, HArrayOfByte*, jint, jint);
java_io_RandomAccessFile_writeBytes(_P_[3].p, _P_[2].p, _P_[1].i, _P_[0].i);
}
/* SYMBOL: java_io_RandomAccessFile getFilePointer()J */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_getFilePointer_stub(stack_item* _P_)
{
extern jlong java_io_RandomAccessFile_getFilePointer(void*);
jlong ret = java_io_RandomAccessFile_getFilePointer(_P_[0].p);
return_long(ret);
}
/* SYMBOL: java_io_RandomAccessFile seek(J)V */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_seek_stub(stack_item* _P_)
{
extern void java_io_RandomAccessFile_seek(void*, jlong);
java_io_RandomAccessFile_seek(_P_[2].p, _P_[0].l);
}
/* SYMBOL: java_io_RandomAccessFile length()J */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_length_stub(stack_item* _P_)
{
extern jlong java_io_RandomAccessFile_length(void*);
jlong ret = java_io_RandomAccessFile_length(_P_[0].p);
return_long(ret);
}
/* SYMBOL: java_io_RandomAccessFile close()V */
EXPORT(void)
Kaffe_java_io_RandomAccessFile_close_stub(stack_item* _P_)
{
extern void java_io_RandomAccessFile_close(void*);
java_io_RandomAccessFile_close(_P_[0].p);
}