@@ -79,7 +79,7 @@ static ObjectOffset() {
7979 }
8080
8181 public static int magic ( IntPtr ob ) {
82- #if ( PYTHON32 || PYTHON33 || PYTHON34 )
82+ #if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
8383 if ( ( Runtime . PyObject_TypeCheck ( ob , Exceptions . BaseException ) ||
8484 ( Runtime . PyType_Check ( ob ) && Runtime . PyType_IsSubtype ( ob , Exceptions . BaseException ) ) ) )
8585 {
@@ -91,7 +91,7 @@ public static int magic(IntPtr ob) {
9191
9292 public static int DictOffset ( IntPtr ob )
9393 {
94- #if ( PYTHON32 || PYTHON33 || PYTHON34 )
94+ #if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
9595 if ( ( Runtime . PyObject_TypeCheck ( ob , Exceptions . BaseException ) ||
9696 ( Runtime . PyType_Check ( ob ) && Runtime . PyType_IsSubtype ( ob , Exceptions . BaseException ) ) ) )
9797 {
@@ -102,7 +102,7 @@ public static int DictOffset(IntPtr ob)
102102 }
103103
104104 public static int Size ( IntPtr ob ) {
105- #if ( PYTHON32 || PYTHON33 || PYTHON34 )
105+ #if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
106106 if ( ( Runtime . PyObject_TypeCheck ( ob , Exceptions . BaseException ) ||
107107 ( Runtime . PyType_Check ( ob ) && Runtime . PyType_IsSubtype ( ob , Exceptions . BaseException ) ) ) )
108108 {
@@ -126,7 +126,7 @@ public static int Size(IntPtr ob) {
126126 private static int ob_data ;
127127 }
128128
129- #if ( PYTHON32 || PYTHON33 || PYTHON34 )
129+ #if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
130130 [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Ansi ) ]
131131 internal class ExceptionOffset
132132 {
@@ -161,7 +161,7 @@ public static int Size()
161161#endif
162162
163163
164- #if ( PYTHON32 || PYTHON33 || PYTHON34 )
164+ #if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
165165 [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Ansi ) ]
166166 internal class BytesOffset
167167 {
@@ -281,10 +281,10 @@ internal class TypeFlags {
281281 /* XXX Reusing reserved constants */
282282 public static int Managed = ( 1 << 15 ) ; // PythonNet specific
283283 public static int Subclass = ( 1 << 16 ) ; // PythonNet specific
284- #if ( PYTHON25 || PYTHON26 || PYTHON27 || PYTHON32 || PYTHON33 || PYTHON34 )
284+ #if ( PYTHON25 || PYTHON26 || PYTHON27 || PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
285285 public static int HaveIndex = ( 1 << 17 ) ;
286286#endif
287- #if ( PYTHON26 || PYTHON27 || PYTHON32 || PYTHON33 || PYTHON34 )
287+ #if ( PYTHON26 || PYTHON27 || PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
288288 /* Objects support nb_index in PyNumberMethods */
289289 public static int HaveVersionTag = ( 1 << 18 ) ;
290290 public static int ValidVersionTag = ( 1 << 19 ) ;
@@ -320,7 +320,7 @@ internal class TypeFlags {
320320#endif
321321
322322// Default flags for Python 3
323- #if ( PYTHON32 || PYTHON33 || PYTHON34 )
323+ #if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
324324 public static int Default = (
325325 HaveStacklessExtension |
326326 HaveVersionTag ) ;
@@ -383,7 +383,7 @@ static Interop() {
383383 pmap [ "nb_add" ] = p [ "BinaryFunc" ] ;
384384 pmap [ "nb_subtract" ] = p [ "BinaryFunc" ] ;
385385 pmap [ "nb_multiply" ] = p [ "BinaryFunc" ] ;
386- #if ! ( PYTHON32 || PYTHON33 || PYTHON34 )
386+ #if ! ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
387387 pmap [ "nb_divide" ] = p [ "BinaryFunc" ] ;
388388#endif
389389 pmap [ "nb_remainder" ] = p [ "BinaryFunc" ] ;
@@ -408,7 +408,7 @@ static Interop() {
408408 pmap [ "nb_inplace_add" ] = p [ "BinaryFunc" ] ;
409409 pmap [ "nb_inplace_subtract" ] = p [ "BinaryFunc" ] ;
410410 pmap [ "nb_inplace_multiply" ] = p [ "BinaryFunc" ] ;
411- #if ! ( PYTHON32 || PYTHON33 || PYTHON34 )
411+ #if ! ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
412412 pmap [ "nb_inplace_divide" ] = p [ "BinaryFunc" ] ;
413413#endif
414414 pmap [ "nb_inplace_remainder" ] = p [ "BinaryFunc" ] ;
@@ -422,7 +422,7 @@ static Interop() {
422422 pmap [ "nb_true_divide" ] = p [ "BinaryFunc" ] ;
423423 pmap [ "nb_inplace_floor_divide" ] = p [ "BinaryFunc" ] ;
424424 pmap [ "nb_inplace_true_divide" ] = p [ "BinaryFunc" ] ;
425- #if ( PYTHON25 || PYTHON26 || PYTHON27 || PYTHON32 || PYTHON33 || PYTHON34 )
425+ #if ( PYTHON25 || PYTHON26 || PYTHON27 || PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
426426 pmap [ "nb_index" ] = p [ "UnaryFunc" ] ;
427427#endif
428428
0 commit comments