@@ -846,12 +846,6 @@ internal static IntPtr Py_CompileStringFlags(string str, string file, int start,
846
846
[ DllImport ( _PythonDll , CallingConvention = CallingConvention . Cdecl ) ]
847
847
internalstatic extern IntPtr PyCFunction_Call( IntPtr func , IntPtr args , IntPtr kw ) ;
848
848
849
- [ DllImport ( _PythonDll , CallingConvention = CallingConvention . Cdecl ) ]
850
- internalstatic extern IntPtr PyInstance_New( IntPtr cls , IntPtr args , IntPtr kw ) ;
851
-
852
- [ DllImport ( _PythonDll , CallingConvention = CallingConvention . Cdecl ) ]
853
- internalstatic extern IntPtr PyInstance_NewRaw( IntPtr cls , IntPtr dict ) ;
854
-
855
849
[ DllImport ( _PythonDll , CallingConvention = CallingConvention . Cdecl ) ]
856
850
internalstatic extern IntPtr PyMethod_New( IntPtr func , IntPtr self , IntPtr cls ) ;
857
851
@@ -1018,9 +1012,6 @@ internal static long PyObject_Size(IntPtr pointer)
1018
1012
// Python buffer API
1019
1013
//====================================================================
1020
1014
1021
- [ DllImport( _PythonDll, CallingConvention= CallingConvention. Cdecl) ]
1022
- internalstatic extern int PyObject_CheckBuffer( IntPtr obj) ;
1023
-
1024
1015
[ DllImport( _PythonDll, CallingConvention= CallingConvention. Cdecl) ]
1025
1016
internalstatic extern int PyObject_GetBuffer( IntPtr exporter, ref Py_buffer view, int flags) ;
1026
1017
@@ -1793,9 +1784,6 @@ internal static IntPtr PyType_GenericAlloc(IntPtr type, long n)
1793
1784
[ DllImport( _PythonDll, CallingConvention= CallingConvention. Cdecl) ]
1794
1785
internalstatic extern IntPtr _PyObject_GetDictPtr( IntPtr obj) ;
1795
1786
1796
- [ DllImport( _PythonDll, CallingConvention= CallingConvention. Cdecl) ]
1797
- internalstatic extern IntPtr PyObject_GC_New( IntPtr tp) ;
1798
-
1799
1787
[ DllImport( _PythonDll, CallingConvention= CallingConvention. Cdecl) ]
1800
1788
internalstatic extern void PyObject_GC_Del( IntPtr tp) ;
1801
1789