|
|
|
@ -619,7 +619,7 @@ namespace CppSharp |
|
|
|
if (decl == null) |
|
|
|
if (decl == null) |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
|
|
|
|
|
|
|
|
if (decl.OriginalPtr == null) |
|
|
|
if (decl.OriginalPtr == IntPtr.Zero) |
|
|
|
throw new NotSupportedException("Original pointer must not be null"); |
|
|
|
throw new NotSupportedException("Original pointer must not be null"); |
|
|
|
|
|
|
|
|
|
|
|
var originalPtr = decl.OriginalPtr; |
|
|
|
var originalPtr = decl.OriginalPtr; |
|
|
|
|