Module type Ctypes.FOREIGNSource

binding interfaces

Foreign function binding interface.

The Foreign and Cstubs modules provide concrete implementations.

Sourcetype 'a fn
Sourcetype 'a return
Sourceval (@->) : 'a typ -> 'b fn -> ('a -> 'b) fn
Sourceval returning : 'a typ -> 'a return fn
Sourcetype 'a result
Sourceval foreign : string -> ('a -> 'b) fn -> ('a -> 'b) result
Sourceval foreign_value : string -> 'a typ -> 'a ptr result