Mercurial > hg > jvamp
comparison src/handle.h @ 55:2b8e1416327d tip
Just change a couple of include guards
author | Chris Cannam |
---|---|
date | Wed, 16 Nov 2016 09:12:46 +0000 |
parents | c9515589be7d |
children |
comparison
equal
deleted
inserted
replaced
54:c742b9b13ffc | 55:2b8e1416327d |
---|---|
30 shall not be used in advertising or otherwise to promote the sale, | 30 shall not be used in advertising or otherwise to promote the sale, |
31 use or other dealings in this Software without prior written | 31 use or other dealings in this Software without prior written |
32 authorization. | 32 authorization. |
33 */ | 33 */ |
34 | 34 |
35 #ifndef _HANDLE_H_INCLUDED_ | 35 #ifndef JVAMP_HANDLE_H_INCLUDED |
36 #define _HANDLE_H_INCLUDED_ | 36 #define JVAMP_HANDLE_H_INCLUDED |
37 | 37 |
38 inline jfieldID getHandleField(JNIEnv *env, jobject obj) | 38 inline jfieldID getHandleField(JNIEnv *env, jobject obj) |
39 { | 39 { |
40 jclass c = env->GetObjectClass(obj); | 40 jclass c = env->GetObjectClass(obj); |
41 return env->GetFieldID(c, "nativeHandle", "J"); | 41 return env->GetFieldID(c, "nativeHandle", "J"); |