跳到主要内容

Enum FunctionOrigin

This enum describes the origin of a function.

The origin of a function value can either be:

  1. The host.
  2. The caller pack.
  3. Packs other than the caller pack. In this case, the origin is represented by a handle to the pack that the function belongs to.
enum FunctionOrigin {
Host,
Caller,
Other(hndl("pack"))
}