summaryrefslogtreecommitdiff
path: root/java/method.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-12-10 22:30:12 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-12-10 22:30:12 +0100
commit429d5f88b94ff28416cbfc6420b6389fa284df97 (patch)
treefb6fdaf7731de1ef396f98b748c56f3149801c84 /java/method.h
Import RTFL 0.1.1v0.1.1
Diffstat (limited to 'java/method.h')
-rw-r--r--java/method.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/method.h b/java/method.h
new file mode 100644
index 0000000..e3dfc45
--- /dev/null
+++ b/java/method.h
@@ -0,0 +1,12 @@
+#ifndef __JAVA_METHOD_H__
+#define __JAVA_METHOD_H__
+
+#include <jvmti.h>
+
+void JNICALL method_entry (jvmtiEnv *jvmti, JNIEnv* jni, jthread thread,
+ jmethodID method);
+void JNICALL method_exit (jvmtiEnv *jvmti, JNIEnv* jni, jthread thread,
+ jmethodID method, jboolean was_popped_by_exception,
+ jvalue return_value);
+
+#endif /* __JAVA_METHOD_H__ */