Python.Runtime.Exceptions.ErrorOccurredCheck C# (CSharp) Метод

ErrorOccurredCheck() статический приватный Метод

Shortcut for (pointer == NULL or ErrorOccurred()) -> throw PythonException
static private ErrorOccurredCheck ( IntPtr pointer ) : void
pointer System.IntPtr
Результат void
        internal static unsafe void ErrorOccurredCheck(IntPtr pointer)
        {
            if ((pointer == IntPtr.Zero) || Exceptions.ErrorOccurred())
            {
                throw new PythonException();
            }
        }