C# Class IronPython.Modules.CTypes._CFuncPtr

Inheritance: CData, IDynamicMetaObjectProvider
Mostrar archivo Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
Deleteerrcheck void
Deleterestype void
GetMetaObject DynamicMetaObject
Geterrcheck object
Getrestype object
Seterrcheck void
Setrestype void

Public Methods

Method Description
_CFuncPtr ( ) : System.Linq.Expressions
_CFuncPtr ( CodeContext context, object function ) : System.Linq.Expressions
_CFuncPtr ( IntPtr handle ) : System.Linq.Expressions
_CFuncPtr ( PythonTuple args ) : System.Linq.Expressions

Creates a new CFuncPtr object from a tuple. The 1st element of the tuple is the ordinal or function name. The second is an object with a _handle property. The _handle property is the handle of the module from which the function will be loaded.

_CFuncPtr ( [ handle ) : System.Linq.Expressions

Creates a new CFuncPtr with the specfied address.

_CFuncPtr ( int handle ) : System.Linq.Expressions

Creates a new CFuncPtr with the specfied address.

__nonzero__ ( ) : bool

Private Methods

Method Description
Deleteerrcheck ( ) : void
Deleterestype ( ) : void
GetMetaObject ( Expression parameter ) : DynamicMetaObject
Geterrcheck ( ) : object
Getrestype ( ) : object
Seterrcheck ( object value ) : void
Setrestype ( object value ) : void

Method Details

_CFuncPtr() public method

public _CFuncPtr ( ) : System.Linq.Expressions
return System.Linq.Expressions

_CFuncPtr() public method

public _CFuncPtr ( CodeContext context, object function ) : System.Linq.Expressions
context CodeContext
function object
return System.Linq.Expressions

_CFuncPtr() public method

public _CFuncPtr ( IntPtr handle ) : System.Linq.Expressions
handle System.IntPtr
return System.Linq.Expressions

_CFuncPtr() public method

Creates a new CFuncPtr object from a tuple. The 1st element of the tuple is the ordinal or function name. The second is an object with a _handle property. The _handle property is the handle of the module from which the function will be loaded.
public _CFuncPtr ( PythonTuple args ) : System.Linq.Expressions
args PythonTuple
return System.Linq.Expressions

_CFuncPtr() public method

Creates a new CFuncPtr with the specfied address.
public _CFuncPtr ( [ handle ) : System.Linq.Expressions
handle [
return System.Linq.Expressions

_CFuncPtr() public method

Creates a new CFuncPtr with the specfied address.
public _CFuncPtr ( int handle ) : System.Linq.Expressions
handle int
return System.Linq.Expressions

__nonzero__() public method

public __nonzero__ ( ) : bool
return bool