Better have a three-element array if one is going to assign
Jarkko Hietaniemi [Tue, 27 Mar 2001 20:21:38 +0000 (20:21 +0000)]
to the third element of that array. (from Tim Jenness)

p4raw-id: //depot/perl@9388

ext/XS/Typemap/Typemap.xs

index d0d79d3..7c24c44 100644 (file)
@@ -632,7 +632,7 @@ T_OPAQUE_array( a,b,c)
   int b
   int c
  PREINIT:
-  int array[2];
+  int array[3];
  CODE:
   array[0] = a;
   array[1] = b;