Macaulay2 » Documentation
Packages » ForeignFunctions » ForeignType » ForeignUnionType
next | previous | forward | backward | up | index | toc

# ForeignUnionType -- foreign union type

## Description

This is the class for C union types. There are no built-in types. They must be constructed using foreignUnionType.

### Menu

- foreignUnionType -- construct a foreign union type
- ForeignUnionType Thing -- cast a thing to a foreign union

## Functions and methods returning a foreign union type:

- foreignUnionType -- construct a foreign union type

## Methods that use a foreign union type:

- ForeignUnionType Thing -- cast a thing to a foreign union

## For the programmer

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

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/ForeignFunctions.m2:1461:0.