T x
To cast a Macaulay2 hash table to a foreign object with a struct type, give the type followed by the hash table, or a list that could be passed to hashTable to create one. The keys should correspond to the keys of the hash table passed to foreignStructType when constructing T.
|
|
Use _ to return a single member of a foreign struct.
|
|
They may also be modified using subscripted assignment.
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/ForeignFunctions.m2:1445:0.