Beispiel #1
0
 PyDict_Copy(IntPtr dictPtr)
 {
     try
     {
         PythonDictionary dict = (PythonDictionary)this.Retrieve(dictPtr);
         return(this.Store(dict.copy(this.scratchContext)));
     }
     catch (Exception e)
     {
         this.LastException = e;
         return(IntPtr.Zero);
     }
 }