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
/
support
/
stubPreamble.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
756b
|
35 lines
/*
* stubPreamble.h
*
* Copyright (c) 1996 Systems Architecture Research Centre,
* City University, London, UK.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February, June 1996.
*/
#ifndef _stubpreamble_h
#define _stubpreamble_h
#include <native.h>
typedef union {
jint i;
jlong l;
jfloat f;
jdouble d;
jref p;
} stack_item;
IMPORT(stack_item) retarg[1];
#define return_int(_r_) retarg->i = (_r_);
#define return_long(_r_) retarg->l = (_r_);
#define return_ref(_r_) retarg->p = (_r_);
#define return_float(_r_) retarg->f = (_r_);
#define return_double(_r_) retarg->d = (_r_);
#endif