Dmitry Kabak (userdimaSome native modules fixes9e777b213 years agoHistory
77 lines · 1.3 KB · Brainfuck
RawDownload
implement Object_L; include "jni.m";    jni : JNI;        ClassModule,        JString,        JArray,        JArrayI,        JArrayC,        JArrayB,        JArrayS,        JArrayJ,        JArrayF,        JArrayD,        JArrayZ,        JArrayJObject,        JArrayJString,        JClass,        JObject : import jni; #>> extra pre includes here #<< include "Object_L.m"; #>> extra post includes here #<< init( jni_p : JNI ){    # save java native inteface mod instance    jni = jni_p;    #>>extra initialization here    #<<} getClass_rClass( this : JObject) : JClass{#>>	return( jni->GetObjectClass(this) );}#<< hashCode_I( this : JObject ) : int{#>>	return( jni->IdentityHash( this ) );}#<< clone_rObject( this : JObject ) : JObject{#>>	return( jni->DupObject( this ) );}#<< notify_V( this : JObject ){#>>	jni->jldr->monitornotify( this, 0 );}#<< notifyAll_V( this : JObject ){#>>	jni->jldr->monitornotify( this, 1 );}#<< wait_J_V( this : JObject, p0 : big){#>>	if ( p0 < big 0 )		jni->ThrowException( "java.lang.IllegalArgumentException", "negative timeout value" );	# limit to 30 bits of millisecond time.	duration := (int p0) & 16r3FFFFFFF;	jni->jldr->monitorwait( this, duration );}#<< registerNatives_V(  ){#>>    # currently empty...}#<< 

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t