Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Where is the native "call" function in SWT 3.5.1 Cocoa


The C code for "call" is automatically generated (almost everything in OS.java on any platform has auto-generated C code).
You will find it in file "os.c" in the Eclipse SWT PI/cocoa/library folder.

Carolyn


From: Silenio Quarti/Ottawa/IBM@IBMCA
To: "Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
Cc: platform-swt-dev@xxxxxxxxxxx, platform-swt-dev-bounces@xxxxxxxxxxx
Date: 26/01/2010 09:29 AM
Subject: Re: [platform-swt-dev] Where is the native "call" function in SWT        3.5.1 Cocoa
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx






The native "call" is not a native function. It takes the address of a C function as the first argument and invoke it passing the other arguments as parameters. If you search for the references of "call", you will find the OS native function that is called.


Silenio


From: Jacob <doobnet@xxxxxxxxx>
To: platform-swt-dev@xxxxxxxxxxx
Date: 01/26/2010 07:44 AM
Subject: [platform-swt-dev] Where is the native "call" function in SWT 3.5.1        Cocoa
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx






Hi

I'm looking at the source code for SWT 3.5.1 Cocoa 32bit, in the  
OS.java file. There is one declaration of a native function "call"  
that I can't find any references or documentation for. Is it a custom  
function or where can I find it? I would like to know how the native  
declaration looks like.


/Jacob Carlborg
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top