External Functions
RemObjects Silver adds the __external
keyword as language extension, to allow the declaration of APIs to external functions in a linked binary. This can be used with P/Invoke (.NET)
and JNI (Java), as well as to import C-based APIs on Cocoa.
The keyword works symmetrically with the matching external
and extern
keywords in Oxygene and C#.
See Also
- P/Invoke (.NET)
- Java Native Interface (Java)
- DllImport attribute
Version Notes
__external
is new in Version 8.2.