com_library!() { /* proc-macro */ }
Expand description

Defines the COM library.

com_library!( libid = "...", items...)]
  • libid - A unique ID that specifies the current intercom library. Optional, the libid is generated randomly if omitted.
  • items - List of items contained in this library.

The macro results in the implementation of the object creation infrastructure that allows external clients to load the library and instantiate the specified types.