コード例 #1
0
ファイル: CSHandleScope.cs プロジェクト: andresa88/lime
 internal static CSHandleScope Create()
 {
     CSHandleScope scope = new CSHandleScope();
     CSHandleContainer container = CSHandleContainer.GetCurrent();
     scope.handleIndex = container.handles.Count;
     scope.memoryListIndex = container.memoryList.Count;
     return scope;
 }
コード例 #2
0
ファイル: CSHandleScope.cs プロジェクト: innogames/hxp
        internal static CSHandleScope Create()
        {
            CSHandleScope     scope     = new CSHandleScope();
            CSHandleContainer container = CSHandleContainer.GetCurrent();

            scope.handleIndex     = container.handles.Count;
            scope.memoryListIndex = container.memoryList.Count;
            return(scope);
        }