summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2005-04-06 19:00:28 +0000
committerSilenio Quarti <silenio>2005-04-06 19:00:28 +0000
commitbce08d1f3f41f2cd6754e9d37819a248f4eec845 (patch)
treefb1749dca850ea5bcdd47b35a9fde58f5f04d4ea /bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h
parent523410c720f2bc453e8c40f0252bc306d962bf97 (diff)
downloadeclipse.platform.swt-bce08d1f3f41f2cd6754e9d37819a248f4eec845.tar.gz
eclipse.platform.swt-bce08d1f3f41f2cd6754e9d37819a248f4eec845.tar.xz
eclipse.platform.swt-bce08d1f3f41f2cd6754e9d37819a248f4eec845.zip
getPathData natives
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h
index e6ba3560b7..513679850a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_structs.h
@@ -131,6 +131,18 @@ void setCGFunctionCallbacksFields(JNIEnv *env, jobject lpObject, CGFunctionCallb
#define CGFunctionCallbacks_sizeof() 0
#endif
+#ifndef NO_CGPathElement
+void cacheCGPathElementFields(JNIEnv *env, jobject lpObject);
+CGPathElement *getCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct);
+void setCGPathElementFields(JNIEnv *env, jobject lpObject, CGPathElement *lpStruct);
+#define CGPathElement_sizeof() sizeof(CGPathElement)
+#else
+#define cacheCGPathElementFields(a,b)
+#define getCGPathElementFields(a,b,c) NULL
+#define setCGPathElementFields(a,b,c)
+#define CGPathElement_sizeof() 0
+#endif
+
#ifndef NO_CGPatternCallbacks
void cacheCGPatternCallbacksFields(JNIEnv *env, jobject lpObject);
CGPatternCallbacks *getCGPatternCallbacksFields(JNIEnv *env, jobject lpObject, CGPatternCallbacks *lpStruct);