C# Class Python.Runtime.NativeCall

Provides support for calling native code indirectly through function pointers. Most of the important parts of the Python C API can just be wrapped with p/invoke, but there are some situations (specifically, calling functions through Python type structures) where we need to call functions indirectly.
Afficher le fichier Open project: fkarb/pythonnet_old Class Usage Examples

Méthodes publiques

Свойство Type Description
Impl INativeCall

Méthodes publiques

Méthode Description
Call_3 ( IntPtr fp, IntPtr a1, IntPtr a2, IntPtr a3 ) : IntPtr
Int_Call_3 ( IntPtr fp, IntPtr a1, IntPtr a2, IntPtr a3 ) : int
Void_Call_1 ( IntPtr fp, IntPtr a1 ) : void

Private Methods

Méthode Description
GenerateThunk ( TypeBuilder tb, MethodInfo method ) : void
NativeCall ( ) : System

Method Details

Call_3() public static méthode

public static Call_3 ( IntPtr fp, IntPtr a1, IntPtr a2, IntPtr a3 ) : IntPtr
fp IntPtr
a1 IntPtr
a2 IntPtr
a3 IntPtr
Résultat IntPtr

Int_Call_3() public static méthode

public static Int_Call_3 ( IntPtr fp, IntPtr a1, IntPtr a2, IntPtr a3 ) : int
fp IntPtr
a1 IntPtr
a2 IntPtr
a3 IntPtr
Résultat int

Void_Call_1() public static méthode

public static Void_Call_1 ( IntPtr fp, IntPtr a1 ) : void
fp IntPtr
a1 IntPtr
Résultat void

Property Details

Impl public_oe static_oe property

public static INativeCall Impl
Résultat INativeCall