comparison dwt/internal/cocoa/OS.d @ 53:6914d8d302de

Updated ColorDialog to 3.514
author Jacob Carlborg <doob@me.com>
date Mon, 08 Dec 2008 21:23:00 +0100
parents 858e9a565d62
children a470e49a1890
comparison
equal deleted inserted replaced
52:858e9a565d62 53:6914d8d302de
1200 } 1200 }
1201 1201
1202 /** JNI natives */ 1202 /** JNI natives */
1203 1203
1204 /** @method flags=jni */ 1204 /** @method flags=jni */
1205 static void* NewGlobalRef (Object object) 1205 public static void* NewGlobalRef (Object object)
1206 { 1206 {
1207 return cast(void*) object; 1207 return cast(void*) object;
1208 } 1208 }
1209 /** 1209 /**
1210 * @method flags=jni 1210 * @method flags=jni
1211 * @param globalRef cast=(jobject) 1211 * @param globalRef cast=(jobject)
1212 */ 1212 */
1213 //public static final native void DeleteGlobalRef(int /*long*/ globalRef); 1213 //public static final void DeleteGlobalRef(void* globalRef){}
1214 /** @method flags=no_gen */ 1214 /** @method flags=no_gen */
1215 static Object JNIGetObject (void* globalRef) 1215 public static Object JNIGetObject (void* globalRef)
1216 { 1216 {
1217 return cast(Object) globalRef; 1217 return cast(Object) globalRef;
1218 } 1218 }
1219 1219
1220 /** Carbon calls */ 1220 /** Carbon calls */