Showing the changes to java/appl/java/lowproto.b (1 of 18352 files). Show all
Unified · Split
| @@ -0,0 +1,65 @@ | ||
| 1 | +# proto file will be replaced with low.s | |
| 2 | +implement Low; | |
| 3 | + | |
| 4 | +include "jni.m"; | |
| 5 | + | |
| 6 | +SetByte( ptr : ref Loader->Niladt, off : int, val : byte ) | |
| 7 | +{ | |
| 8 | + junk := (ptr,off,val); | |
| 9 | +} | |
| 10 | + | |
| 11 | +SetInt( ptr : ref Loader->Niladt, off : int, val : int ) | |
| 12 | +{ | |
| 13 | + junk := (ptr,off,val); | |
| 14 | +} | |
| 15 | + | |
| 16 | +SetBig( ptr : ref Loader->Niladt, off : int, val : big ) | |
| 17 | +{ | |
| 18 | + junk := (ptr,off,val); | |
| 19 | +} | |
| 20 | + | |
| 21 | +SetReal( ptr : ref Loader->Niladt, off : int, val : real ) | |
| 22 | +{ | |
| 23 | + junk := (ptr,off,val); | |
| 24 | +} | |
| 25 | + | |
| 26 | +SetObj( ptr : ref Loader->Niladt, off : int, val : JNI->JObject ) | |
| 27 | +{ | |
| 28 | + junk := (ptr,off,val); | |
| 29 | +} | |
| 30 | + | |
| 31 | +GetByte( ptr : ref Loader->Niladt, off : int ) : byte | |
| 32 | +{ | |
| 33 | + junk := (ptr,off); | |
| 34 | + return( byte 0 ); | |
| 35 | +} | |
| 36 | + | |
| 37 | +GetInt( ptr : ref Loader->Niladt, off : int ) : int | |
| 38 | +{ | |
| 39 | + junk := (ptr,off); | |
| 40 | + return( 0 ); | |
| 41 | +} | |
| 42 | + | |
| 43 | +GetBig( ptr : ref Loader->Niladt, off : int ) : big | |
| 44 | +{ | |
| 45 | + junk := (ptr,off); | |
| 46 | + return( big 0 ); | |
| 47 | +} | |
| 48 | + | |
| 49 | +GetReal( ptr : ref Loader->Niladt, off : int ) : real | |
| 50 | +{ | |
| 51 | + junk := (ptr,off); | |
| 52 | + return( 0.0 ); | |
| 53 | +} | |
| 54 | + | |
| 55 | +GetObj( ptr : ref Loader->Niladt, off : int ) : JNI->JObject | |
| 56 | +{ | |
| 57 | + junk := (ptr,off); | |
| 58 | + return( nil ); | |
| 59 | +} | |
| 60 | + | |
| 61 | +CallMethod( mod : Nilmod, idx : int, this : JNI->JObject, args : array of ref JNI->Value, retval : ref JNI->Value ) | |
| 62 | +{ | |
| 63 | + junk := (mod,idx,this,args,retval); | |
| 64 | +} | |
| 65 | + | |