Next: , Previous: Using pragma foreign_type for Erlang, Up: Interfacing with Erlang   [Contents] Using pragma foreign_export_enum for Erlang

Values of Mercury enumeration types may be referred to from Erlang code using the convention for discriminated union types described in Erlang data passing conventions. As such, ‘pragma foreign_export_enum’ declarations are neither required or supported for Erlang.