foreignObject x
This function constructs a ForeignObject. The type is determined automatically based on type of the input. Integers are converted to int32 objects.
|
Non-integers are converted to double objects.
|
Strings are converted to charstar objects.
|
Pointers are converted to voidstar objects.
|
Lists are converted to foreign objects with the appropriate ForeignArrayType.
|
No conversion is done when the input is already a foreign object.
|
The object foreignObject is a method function.