Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

innerowner source realm

Package innerowner persists an \*Inner that lives in this realm. Foreign-realm callers use GetInner() to obtain a poi...

Overview

Package innerowner persists an *Inner that lives in this realm. Foreign-realm callers use GetInner() to obtain a pointer to it. When they pass it as the receiver of a /p/ method, PushFrameCall's borrow rule 2 fires and m.Realm shifts to this realm.

Functions 1

func GetInner

Action
1func GetInner() *p_closurecap.Inner
source

GetInner returns the persisted Inner. Non-crossing: the caller's realm stays current, but the returned *Inner carries PkgID = innerowner from its init-time allocation.

Imports 1

Source Files 2