Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ JNIEXPORT jlong JNICALL OS_NATIVE(CGPDFContextCreateWithURL)
jlong rc = 0;
OS_NATIVE_ENTER(env, that, CGPDFContextCreateWithURL_FUNC);
if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
rc = (jlong)CGPDFContextCreateWithURL((CFURLRef)arg0, *lparg1, (CFDictionaryRef)arg2);
rc = (jlong)CGPDFContextCreateWithURL((CFURLRef)arg0, (const CGRect *)lparg1, (CFDictionaryRef)arg2);
fail:
if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
OS_NATIVE_EXIT(env, that, CGPDFContextCreateWithURL_FUNC);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3200,7 +3200,7 @@ public static Selector getSelector (long value) {
public static final native void CGImageRelease(long image);
/**
* @param url cast=(CFURLRef)
* @param mediaBox flags=struct
* @param mediaBox cast=(const CGRect *)
* @param auxiliaryInfo cast=(CFDictionaryRef)
*/
public static final native long CGPDFContextCreateWithURL(long url, CGRect mediaBox, long auxiliaryInfo);
Expand Down