Macaulay2 » Documentation
Packages » ForeignFunctions :: ForeignVoidType
next | previous | forward | backward | up | index | toc

ForeignVoidType -- foreign void type

Description

The void type. There is one built-in type of this class, void.

Note that there are no foreign objects of this type. It is, however, used as a return type for foreignFunction. Such functions will return null. It may also be used by itself as an argument type to indicate functions that take no arguments.

i1 : void

o1 = void

o1 : ForeignVoidType

Methods that use a foreign void type :

Fixed objects of class ForeignVoidType :

For the programmer

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