next | previous | forward | backward | up | top | index | toc | Macaulay2 website
ForeignFunctions :: ForeignType

ForeignType -- abstract foreign type


This is the abstract class from which all other foreign type classes should inherit. All ForeignType objects should have, at minimum, two key-value pairs:

  • Name, a string, a human-readable name of the class for display purposes, used by net(ForeignType).
  • Address, a pointer, a pointer to the corresponding ffi_type object, used by address(ForeignType).

Types of foreign type :

Methods that use a foreign type :

Fixed objects of class ForeignType :

For the programmer

The object ForeignType is a type, with ancestor classes Type < MutableHashTable < HashTable < Thing.