harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcfi...@apache.org
Subject svn commit: r646566 - /harmony/enhanced/drlvm/trunk/vm/vmcore/include/class_member.h
Date Wed, 09 Apr 2008 22:20:49 GMT
Author: mcfirst
Date: Wed Apr  9 15:20:44 2008
New Revision: 646566

URL: http://svn.apache.org/viewvc?rev=646566&view=rev
Log:
This small patch makes jmethodID autoconvertable to Method*.\nUse:\n#include "jni_types.h"\n#include
"class_member.h"\nto get this feature working.

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/include/class_member.h

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/include/class_member.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/include/class_member.h?rev=646566&r1=646565&r2=646566&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/include/class_member.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/include/class_member.h Wed Apr  9 15:20:44 2008
@@ -822,4 +822,10 @@
 
 }; // Method
 
+struct _jmethodID : public Method
+{
+    // Empty declaration to make jmethodID
+    // autoconvertable to struct Method*
+};
+
 #endif



Mime
View raw message